Skip to content

Commit

Permalink
send truthy 'canLeaveConversation' for non-moderators in lobby
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy authored and backportbot-nextcloud[bot] committed Sep 18, 2023
1 parent 75a25b0 commit 1b4fc14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Service/RoomFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ public function formatRoomV4(
!($currentParticipant->getPermissions() & Attendee::PERMISSIONS_LOBBY_IGNORE)) {
// No participants and chat messages for users in the lobby.
$roomData['hasCall'] = false;
$roomData['canLeaveConversation'] = true;
return $roomData;
}

Expand Down

0 comments on commit 1b4fc14

Please sign in to comment.