From 348f238ec834dbaba340b40d35261bbf945c370f Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Thu, 24 Nov 2022 17:31:45 +0200 Subject: [PATCH] Remove sliding sync .live state check as it doesn't happen for selective ranged syncs --- .../Services/Room/RoomSummary/RoomSummaryProvider.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift index 00f0ad54f..7d2b642ed 100644 --- a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift +++ b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift @@ -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.Change]() for identifier in identifiers {