summaryrefslogtreecommitdiffstats
path: root/lib/Controller/PublicShareAuthController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-10-18 16:17:11 +0200
committerJoas Schilling <coding@schilljs.com>2021-10-18 16:17:11 +0200
commit9e8d94d58f4cf230e08fbca95393040c44acbd50 (patch)
tree6f9d9afa013e3a4c7a9d92ca5dc52d7e00ffb2f8 /lib/Controller/PublicShareAuthController.php
parent8c18fc16cb5ea5044f7f0d67b0693fe60b2e2eae (diff)
Replace old type constants with new ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/PublicShareAuthController.php')
-rw-r--r--lib/Controller/PublicShareAuthController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PublicShareAuthController.php b/lib/Controller/PublicShareAuthController.php
index f75c529d1..390aa4615 100644
--- a/lib/Controller/PublicShareAuthController.php
+++ b/lib/Controller/PublicShareAuthController.php
@@ -107,7 +107,7 @@ class PublicShareAuthController extends OCSController {
$roomName = $this->roomService->prepareConversationName($roomName);
// Create the room
- $room = $this->roomService->createConversation(Room::PUBLIC_CALL, $roomName, $sharerUser, 'share:password', $shareToken);
+ $room = $this->roomService->createConversation(Room::TYPE_PUBLIC, $roomName, $sharerUser, 'share:password', $shareToken);
$user = $this->userSession->getUser();
$userId = $user instanceof IUser ? $user->getUID() : '';