diff options
author | Joas Schilling <coding@schilljs.com> | 2024-03-01 14:28:03 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-01 14:28:03 +0100 |
commit | 9b859108a247b4244647ae36aa39b4c6a2ad78f9 (patch) | |
tree | 2eefa716d9253f36c8f26aa85b736b1c08c89dd2 | |
parent | 9d0e42f87d33383112f07e550736417d090ca67c (diff) |
fix(federation): Allow to leave federated conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Service/RoomFormatter.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Service/RoomFormatter.php b/lib/Service/RoomFormatter.php index 251e63c75..1cd8d9fb5 100644 --- a/lib/Service/RoomFormatter.php +++ b/lib/Service/RoomFormatter.php @@ -402,6 +402,7 @@ class RoomFormatter { if ($room->getRemoteServer() !== '') { $roomData['attendeeId'] = (int) $attendee->getRemoteId(); + $roomData['canLeaveConversation'] = true; } return $roomData; |