mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Remove sliding sync .live state check as it doesn't happen for selective ranged syncs
This commit is contained in:
committed by
Stefan Ceriu
parent
00876e02f8
commit
0f7c1fc581
@@ -112,9 +112,10 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func updateRoomsWithIdentifiers(_ identifiers: [String]) {
|
func updateRoomsWithIdentifiers(_ identifiers: [String]) {
|
||||||
guard statePublisher.value == .live else {
|
#warning("This is a valid check but Rust doesn't set it correct for selective ranged syncs")
|
||||||
return
|
// guard statePublisher.value == .live else {
|
||||||
}
|
// return
|
||||||
|
// }
|
||||||
|
|
||||||
var changes = [CollectionDifference<RoomSummary>.Change]()
|
var changes = [CollectionDifference<RoomSummary>.Change]()
|
||||||
for identifier in identifiers {
|
for identifier in identifiers {
|
||||||
|
|||||||
Reference in New Issue
Block a user