RoomSummary: RoomListEntry.Invalidated should not build empty room summary
This commit is contained in:
parent
d4d837c88b
commit
e73afad96c
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ class RoomSummaryListProcessor(
|
|||
RoomListEntry.Empty -> buildEmptyRoomSummary()
|
||||
is RoomListEntry.Filled -> buildAndCacheRoomSummaryForIdentifier(entry.roomId)
|
||||
is RoomListEntry.Invalidated -> {
|
||||
roomSummariesByIdentifier[entry.roomId] ?: buildEmptyRoomSummary()
|
||||
roomSummariesByIdentifier[entry.roomId] ?: buildAndCacheRoomSummaryForIdentifier(entry.roomId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue