Bump the RustSDK to v1.0.66-alpha

This commit is contained in:
Stefan Ceriu
2023-05-22 18:38:25 +03:00
committed by Stefan Ceriu
parent 3ff61f5158
commit d38cf8f989
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -4621,7 +4621,7 @@
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
requirement = {
kind = exactVersion;
version = "1.0.65-alpha";
version = "1.0.66-alpha";
};
};
96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = {
@@ -102,8 +102,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
"state" : {
"revision" : "937bd40d601b59d676c18e466fd111925e498799",
"version" : "1.0.65-alpha"
"revision" : "1da413f836e4c7e4ef9c097b55bd07794abbb596",
"version" : "1.0.66-alpha"
}
},
{
@@ -439,7 +439,7 @@ class ClientProxy: ClientProxyProtocol {
.timelineLimit(limit: UInt32(SlidingSyncConstants.initialTimelineLimit)) // Starts off with zero to quickly load rooms, then goes to 1 while scrolling to quickly load last messages and 20 when the scrolling stops to load room history
.requiredState(requiredState: slidingSyncRequiredState)
.filters(filters: slidingSyncFilters)
.syncMode(mode: .selective)
.syncModeSelective()
.addRange(from: 0, toIncluded: 20)
.onceBuilt(callback: visibleRoomsListProxy)
@@ -471,8 +471,7 @@ class ClientProxy: ClientProxyProtocol {
.noTimelineLimit()
.requiredState(requiredState: slidingSyncRequiredState)
.filters(filters: slidingSyncFilters)
.syncMode(mode: .growing)
.batchSize(batchSize: 100)
.syncModeGrowing(batchSize: 100, maximumNumberOfRoomsToFetch: nil)
.onceBuilt(callback: allRoomsListProxy)
self.allRoomsListBuilder = allRoomsListBuilder
@@ -492,8 +491,7 @@ class ClientProxy: ClientProxyProtocol {
.noTimelineLimit()
.requiredState(requiredState: slidingSyncInvitesRequiredState)
.filters(filters: slidingSyncInviteFilters)
.syncMode(mode: .growing)
.batchSize(batchSize: 100)
.syncModeGrowing(batchSize: 100, maximumNumberOfRoomsToFetch: nil)
.onceBuilt(callback: invitesListProxy)
self.invitesListBuilder = invitesListBuilder
@@ -509,8 +507,7 @@ class ClientProxy: ClientProxyProtocol {
.noTimelineLimit()
.requiredState(requiredState: slidingSyncNotificationsRequiredState)
.filters(filters: slidingSyncNotificationsFilters)
.syncMode(mode: .growing)
.batchSize(batchSize: 100)
.syncModeGrowing(batchSize: 100, maximumNumberOfRoomsToFetch: nil)
self.notificationsListBuilder = notificationsListBuilder
}
+1 -1
View File
@@ -42,7 +42,7 @@ include:
packages:
MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.0.65-alpha
exactVersion: 1.0.66-alpha
# path: ../matrix-rust-sdk
DesignKit:
path: DesignKit