diff options
Diffstat (limited to 'lib/Share/RoomShareProvider.php')
-rw-r--r-- | lib/Share/RoomShareProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Share/RoomShareProvider.php b/lib/Share/RoomShareProvider.php index 0f0ec6f9d..66d1c3d80 100644 --- a/lib/Share/RoomShareProvider.php +++ b/lib/Share/RoomShareProvider.php @@ -894,7 +894,7 @@ class RoomShareProvider implements IShareProvider { throw new ShareNotFound(); } - if ($room->getType() !== Room::PUBLIC_CALL) { + if ($room->getType() !== Room::TYPE_PUBLIC) { throw new ShareNotFound(); } |