mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Bump the RustSDK to v1.1.2
- add a couple more logs to the room summary provider
This commit is contained in:
committed by
Stefan Ceriu
parent
5f55796b7f
commit
1e1923c9f4
@@ -5527,7 +5527,7 @@
|
|||||||
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = 1.1.1;
|
version = 1.1.2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
||||||
|
|||||||
@@ -129,8 +129,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "75cd9959b806665a066a1ea38f7441d80e899ce4",
|
"revision" : "3cc7cbd7b93d2492525678b37324f11ccb7a1889",
|
||||||
"version" : "1.1.1"
|
"version" : "1.1.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -136,6 +136,8 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
|||||||
// MARK: - Private
|
// MARK: - Private
|
||||||
|
|
||||||
fileprivate func updateRoomsWithDiffs(_ diffs: [RoomListEntriesUpdate]) {
|
fileprivate func updateRoomsWithDiffs(_ diffs: [RoomListEntriesUpdate]) {
|
||||||
|
MXLog.info("Started processing room list diffs")
|
||||||
|
|
||||||
let span = MXLog.createSpan("\(name).process_room_list_diffs")
|
let span = MXLog.createSpan("\(name).process_room_list_diffs")
|
||||||
span.enter()
|
span.enter()
|
||||||
defer {
|
defer {
|
||||||
@@ -165,6 +167,8 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
|||||||
MXLog.verbose("\(name): Finished applying \(diffs.count) diffs, new room list \(rooms.compactMap { $0.id ?? "Empty" })")
|
MXLog.verbose("\(name): Finished applying \(diffs.count) diffs, new room list \(rooms.compactMap { $0.id ?? "Empty" })")
|
||||||
|
|
||||||
ServiceLocator.shared.analytics.signpost.endFirstRooms()
|
ServiceLocator.shared.analytics.signpost.endFirstRooms()
|
||||||
|
|
||||||
|
MXLog.info("Finished processing room list diffs")
|
||||||
}
|
}
|
||||||
|
|
||||||
private func processDiff(_ diff: RoomListEntriesUpdate, on currentItems: [RoomSummary]) -> [RoomSummary] {
|
private func processDiff(_ diff: RoomListEntriesUpdate, on currentItems: [RoomSummary]) -> [RoomSummary] {
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ packages:
|
|||||||
# Element/Matrix dependencies
|
# Element/Matrix dependencies
|
||||||
MatrixRustSDK:
|
MatrixRustSDK:
|
||||||
url: https://github.com/matrix-org/matrix-rust-components-swift
|
url: https://github.com/matrix-org/matrix-rust-components-swift
|
||||||
exactVersion: 1.1.1
|
exactVersion: 1.1.2
|
||||||
# path: ../matrix-rust-sdk
|
# path: ../matrix-rust-sdk
|
||||||
DesignKit:
|
DesignKit:
|
||||||
path: DesignKit
|
path: DesignKit
|
||||||
|
|||||||
Reference in New Issue
Block a user