From 1af710d2b00e063e5f0e638b8a3123bbea0f8bde Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 15 May 2023 19:00:38 +0300 Subject: [PATCH] Switch the RustSDK to v0.0.1-paginate-only-with-token in order to test out a timeline ordering fix --- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- ElementX/Sources/Services/Client/ClientProxy.swift | 2 +- project.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index a0e5d03d8..4d422a28e 100644 --- a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -102,8 +102,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/matrix-org/matrix-rust-components-swift", "state" : { - "revision" : "46570efc173ea6006a13597d262d942319d999fe", - "version" : "1.0.64-alpha" + "revision" : "f7e5c77a9f443e93edb179d5cc1b0b1cb2f5e0b1", + "version" : "0.0.1-paginate-only-with-token" } }, { diff --git a/ElementX/Sources/Services/Client/ClientProxy.swift b/ElementX/Sources/Services/Client/ClientProxy.swift index 57c0379f6..0361a413b 100644 --- a/ElementX/Sources/Services/Client/ClientProxy.swift +++ b/ElementX/Sources/Services/Client/ClientProxy.swift @@ -379,7 +379,7 @@ class ClientProxy: ClientProxyProtocol { .requiredState(requiredState: slidingSyncRequiredState) .filters(filters: slidingSyncFilters) .syncMode(mode: .selective) - .addRange(from: 0, to: 20) + .addRange(from: 0, toIncluded: 20) .onceBuilt(callback: visibleRoomsListProxy) self.visibleRoomsListBuilder = visibleRoomsListBuilder diff --git a/project.yml b/project.yml index 1333cba2b..c09a60aaf 100644 --- a/project.yml +++ b/project.yml @@ -42,7 +42,7 @@ include: packages: MatrixRustSDK: url: https://github.com/matrix-org/matrix-rust-components-swift - exactVersion: 1.0.64-alpha + exactVersion: 0.0.1-paginate-only-with-token # path: ../matrix-rust-sdk DesignKit: path: DesignKit