Merge pull request #1358 from vector-im/feature/fga/fix_invalidated_room_summary

Fix RoomSummary: RoomListEntry.Invalidated
This commit is contained in:
ganfra 2023-09-18 11:08:15 +02:00 committed by GitHub
commit 2b583f6e51

View file

@ -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)
} }
} }
} }