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