diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index e62568609e2..ef0036338f1 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -269,8 +269,8 @@ public function getRooms(int $noStatusUpdate = 0, bool $includeStatus = false, i // Include rooms where only attendee level things changed, // e.g. favorite, read-marker update, notification setting - $attendee = $room->getParticipant($this->userId)->getAttendee(); - return $attendee->getLastAttendeeActivity() >= $modifiedSince; + $participant = $this->participantService->getParticipant($room, $this->userId); + return $participant->getAttendee()->getLastAttendeeActivity() >= $modifiedSince; }); }