diff options
Diffstat (limited to 'lib/Share/Helper/ShareAPIController.php')
-rw-r--r-- | lib/Share/Helper/ShareAPIController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Share/Helper/ShareAPIController.php b/lib/Share/Helper/ShareAPIController.php index aefccb229..29faae6db 100644 --- a/lib/Share/Helper/ShareAPIController.php +++ b/lib/Share/Helper/ShareAPIController.php @@ -93,7 +93,7 @@ class ShareAPIController { // so the avatars for conversations are distinguishable $result['share_with'] = 'private_conversation_' . substr(sha1($room->getName() . $room->getId()), 0, 6); } - if ($room->getType() === Room::PUBLIC_CALL) { + if ($room->getType() === Room::TYPE_PUBLIC) { $result['token'] = $share->getToken(); } $result['share_with_link'] = $this->urlGenerator->linkToRouteAbsolute('spreed.Page.showCall', ['token' => $room->getToken()]); |