diff --git a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift index 1f13b8434..fca38d022 100644 --- a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift +++ b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift @@ -133,36 +133,25 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol { MXLog.verbose("\(name): Received \(diffs.count) diffs, current room list \(rooms.compactMap { $0.id ?? "Empty" })") - for diff in diffs { - // Special case resets in order to prevent large updates from blocking the UI - // Render the first resetDiffChunkingThreshhold as a reset and then append the rest to give the UI time to update - let resetDiffChunkingThreshhold = 50 - if case .reset(let values) = diff, values.count > resetDiffChunkingThreshhold { - processDiff(RoomListEntriesUpdate.reset(values: Array(values[.. RoomInfo? { class FetchResult {