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 00876e02f8
commit 0f7c1fc581

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 {