mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-06 07:24:49 +00:00
RoomSummary: RoomListEntry.Invalidated should not build empty room summary
This commit is contained in:
+1
-1
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user