fix ( room list) : rebuild with filteredSummaries to avoid bad state in the room list

This commit is contained in:
ganfra 2025-07-07 21:29:13 +02:00
parent 4b10920507
commit be04736406

View file

@ -119,7 +119,7 @@ class RoomListDataSource @Inject constructor(
private suspend fun rebuildAllRoomSummaries() {
lock.withLock {
roomListService.allRooms.summaries.replayCache.firstOrNull()?.let { roomSummaries ->
roomListService.allRooms.filteredSummaries.replayCache.firstOrNull()?.let { roomSummaries ->
buildAndEmitAllRooms(roomSummaries, useCache = false)
}
}