fix ( room list) : rebuild with filteredSummaries to avoid bad state in the room list
This commit is contained in:
parent
4b10920507
commit
be04736406
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue