Skip to content

Commit 1d65cc9

Browse files
authored
Merge pull request #1358 from vector-im/feature/fga/fix_invalidated_room_summary
Fix RoomSummary: RoomListEntry.Invalidated
2 parents a946726 + e73afad commit 1d65cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/roomlist/RoomSummaryListProcessor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class RoomSummaryListProcessor(
110110
RoomListEntry.Empty -> buildEmptyRoomSummary()
111111
is RoomListEntry.Filled -> buildAndCacheRoomSummaryForIdentifier(entry.roomId)
112112
is RoomListEntry.Invalidated -> {
113-
roomSummariesByIdentifier[entry.roomId] ?: buildEmptyRoomSummary()
113+
roomSummariesByIdentifier[entry.roomId] ?: buildAndCacheRoomSummaryForIdentifier(entry.roomId)
114114
}
115115
}
116116
}

0 commit comments

Comments
 (0)