mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Update the SDK.
This commit is contained in:
@@ -4115,6 +4115,35 @@ open class ClientSDKMock: MatrixRustSDK.Client, @unchecked Sendable {
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - totalUnreadNotifications
|
||||
|
||||
private let totalUnreadNotificationsCallsCountLock = NSLock()
|
||||
private var totalUnreadNotificationsUnderlyingCallsCount = 0
|
||||
open var totalUnreadNotificationsCallsCount: Int {
|
||||
get { totalUnreadNotificationsCallsCountLock.withLock { totalUnreadNotificationsUnderlyingCallsCount } }
|
||||
set { totalUnreadNotificationsCallsCountLock.withLock { totalUnreadNotificationsUnderlyingCallsCount = newValue } }
|
||||
}
|
||||
open var totalUnreadNotificationsCalled: Bool {
|
||||
return totalUnreadNotificationsCallsCount > 0
|
||||
}
|
||||
|
||||
private let totalUnreadNotificationsReturnValueLock = NSLock()
|
||||
open var totalUnreadNotificationsUnderlyingReturnValue: UInt64!
|
||||
open var totalUnreadNotificationsReturnValue: UInt64! {
|
||||
get { totalUnreadNotificationsReturnValueLock.withLock { totalUnreadNotificationsUnderlyingReturnValue } }
|
||||
set { totalUnreadNotificationsReturnValueLock.withLock { totalUnreadNotificationsUnderlyingReturnValue = newValue } }
|
||||
}
|
||||
open var totalUnreadNotificationsClosure: (() -> UInt64)?
|
||||
|
||||
open override func totalUnreadNotifications() -> UInt64 {
|
||||
totalUnreadNotificationsCallsCountLock.withLock { totalUnreadNotificationsUnderlyingCallsCount += 1 }
|
||||
if let totalUnreadNotificationsClosure = totalUnreadNotificationsClosure {
|
||||
return totalUnreadNotificationsClosure()
|
||||
} else {
|
||||
return totalUnreadNotificationsReturnValue
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - trackRecentlyVisitedRoom
|
||||
|
||||
open var trackRecentlyVisitedRoomRoomThrowableError: Error?
|
||||
|
||||
@@ -10825,7 +10825,7 @@
|
||||
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 26.09.08;
|
||||
version = 26.09.09;
|
||||
};
|
||||
};
|
||||
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
||||
|
||||
@@ -167,8 +167,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
||||
"state" : {
|
||||
"revision" : "bd4fe022902bb3c3cbeb017cbf60516b6ef7f6f0",
|
||||
"version" : "26.9.8"
|
||||
"revision" : "56ec8d0458a688018bbd9f1f2fd70fae7919f415",
|
||||
"version" : "26.9.9"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ packages:
|
||||
# Element/Matrix dependencies
|
||||
MatrixRustSDK:
|
||||
url: https://github.com/element-hq/matrix-rust-components-swift
|
||||
exactVersion: 26.09.08
|
||||
exactVersion: 26.09.09
|
||||
# path: ../matrix-rust-sdk
|
||||
Compound:
|
||||
path: compound-ios
|
||||
|
||||
Reference in New Issue
Block a user