diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 3e4b7c317a4..74fa81a74af 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -212,6 +212,9 @@ public function getRooms(int $noStatusUpdate = 0): DataResponse { try { $return[] = $this->formatRoom($room, $room->getParticipant($this->userId)); } catch (RoomNotFoundException $e) { + } catch (ParticipantNotFoundException $e) { + // for example in case the room was deleted concurrently, + // the user is not a participant any more } catch (\RuntimeException $e) { } }