diff options
Diffstat (limited to 'lib/Controller/FilesIntegrationController.php')
-rw-r--r-- | lib/Controller/FilesIntegrationController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/FilesIntegrationController.php b/lib/Controller/FilesIntegrationController.php index bf38b6431..eeb1a841a 100644 --- a/lib/Controller/FilesIntegrationController.php +++ b/lib/Controller/FilesIntegrationController.php @@ -148,7 +148,7 @@ class FilesIntegrationController extends OCSController { } catch (RoomNotFoundException $e) { $name = $node->getName(); $name = $this->roomService->prepareConversationName($name); - $room = $this->roomService->createConversation(Room::PUBLIC_CALL, $name, null, 'file', $fileId); + $room = $this->roomService->createConversation(Room::TYPE_PUBLIC, $name, null, 'file', $fileId); } return new DataResponse([ @@ -218,7 +218,7 @@ class FilesIntegrationController extends OCSController { } catch (RoomNotFoundException $e) { $name = $share->getNode()->getName(); $name = $this->roomService->prepareConversationName($name); - $room = $this->roomService->createConversation(Room::PUBLIC_CALL, $name, null, 'file', $fileId); + $room = $this->roomService->createConversation(Room::TYPE_PUBLIC, $name, null, 'file', $fileId); } } catch (NotFoundException $e) { return new DataResponse([], Http::STATUS_NOT_FOUND); |