Bump the RustSDK to v1.1.2

- add a couple more logs to the room summary provider
This commit is contained in:
Stefan Ceriu
2023-08-28 19:38:18 +03:00
committed by Stefan Ceriu
parent 52cf6ac7c9
commit d8dba95a98
4 changed files with 8 additions and 4 deletions

View File

@@ -5527,7 +5527,7 @@
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
requirement = {
kind = exactVersion;
version = 1.1.1;
version = 1.1.2;
};
};
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {

View File

@@ -129,8 +129,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
"state" : {
"revision" : "75cd9959b806665a066a1ea38f7441d80e899ce4",
"version" : "1.1.1"
"revision" : "3cc7cbd7b93d2492525678b37324f11ccb7a1889",
"version" : "1.1.2"
}
},
{

View File

@@ -136,6 +136,8 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
// MARK: - Private
fileprivate func updateRoomsWithDiffs(_ diffs: [RoomListEntriesUpdate]) {
MXLog.info("Started processing room list diffs")
let span = MXLog.createSpan("\(name).process_room_list_diffs")
span.enter()
defer {
@@ -165,6 +167,8 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
MXLog.verbose("\(name): Finished applying \(diffs.count) diffs, new room list \(rooms.compactMap { $0.id ?? "Empty" })")
ServiceLocator.shared.analytics.signpost.endFirstRooms()
MXLog.info("Finished processing room list diffs")
}
private func processDiff(_ diff: RoomListEntriesUpdate, on currentItems: [RoomSummary]) -> [RoomSummary] {

View File

@@ -45,7 +45,7 @@ packages:
# Element/Matrix dependencies
MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.1.1
exactVersion: 1.1.2
# path: ../matrix-rust-sdk
DesignKit:
path: DesignKit