Remove sliding sync .live state check as it doesn't happen for selective ranged syncs

This commit is contained in:
Stefan Ceriu
2022-11-24 17:31:45 +02:00
committed by Stefan Ceriu
parent f18c829353
commit 348f238ec8

View File

@@ -112,9 +112,10 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
}
func updateRoomsWithIdentifiers(_ identifiers: [String]) {
guard statePublisher.value == .live else {
return
}
#warning("This is a valid check but Rust doesn't set it correct for selective ranged syncs")
// guard statePublisher.value == .live else {
// return
// }
var changes = [CollectionDifference<RoomSummary>.Change]()
for identifier in identifiers {