summaryrefslogtreecommitdiffstats
path: root/lib/Service/ParticipantService.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/ParticipantService.php')
-rw-r--r--lib/Service/ParticipantService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php
index 140e733bf..2941972c8 100644
--- a/lib/Service/ParticipantService.php
+++ b/lib/Service/ParticipantService.php
@@ -201,7 +201,7 @@ class ParticipantService {
* @throws ForbiddenException
*/
public function updatePermissions(Room $room, Participant $participant, string $method, int $newPermissions): bool {
- if ($room->getType() === Room::TYPE_ONE_TO_ONE) {
+ if ($room->getType() === Room::TYPE_ONE_TO_ONE || $room->getType() === Room::TYPE_ONE_TO_ONE_FORMER) {
return false;
}