mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Update the SDK. (#6010)
This commit is contained in:
@@ -10393,7 +10393,7 @@
|
||||
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 26.08.07;
|
||||
version = 26.08.11;
|
||||
};
|
||||
};
|
||||
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
||||
|
||||
@@ -167,8 +167,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
||||
"state" : {
|
||||
"revision" : "4201e58f36d416dd16673dc7aaebdfbdc90e7d95",
|
||||
"version" : "26.8.7"
|
||||
"revision" : "cd2aca60da2e59765b5a949e497f56cad29b88cf",
|
||||
"version" : "26.8.11"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -18618,6 +18618,53 @@ open class TimelineSDKMock: MatrixRustSDK.Timeline, @unchecked Sendable {
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - toggleReactionWithExtraContent
|
||||
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonThrowableError: Error?
|
||||
private let toggleReactionWithExtraContentItemIdKeyExtraContentJsonCallsCountLock = NSLock()
|
||||
private var toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingCallsCount = 0
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonCallsCount: Int {
|
||||
get { toggleReactionWithExtraContentItemIdKeyExtraContentJsonCallsCountLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingCallsCount } }
|
||||
set { toggleReactionWithExtraContentItemIdKeyExtraContentJsonCallsCountLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingCallsCount = newValue } }
|
||||
}
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonCalled: Bool {
|
||||
return toggleReactionWithExtraContentItemIdKeyExtraContentJsonCallsCount > 0
|
||||
}
|
||||
private let toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedArgumentsLock = NSLock()
|
||||
private var toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReceivedArguments: (itemId: EventOrTransactionId, key: String, extraContentJson: String?)?
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedArguments: (itemId: EventOrTransactionId, key: String, extraContentJson: String?)? {
|
||||
get { toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedArgumentsLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReceivedArguments } }
|
||||
set { toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedArgumentsLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReceivedArguments = newValue } }
|
||||
}
|
||||
private let toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedInvocationsLock = NSLock()
|
||||
private var toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReceivedInvocations: [(itemId: EventOrTransactionId, key: String, extraContentJson: String?)] = []
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedInvocations: [(itemId: EventOrTransactionId, key: String, extraContentJson: String?)] {
|
||||
get { toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedInvocationsLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReceivedInvocations } }
|
||||
set { toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedInvocationsLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReceivedInvocations = newValue } }
|
||||
}
|
||||
|
||||
private let toggleReactionWithExtraContentItemIdKeyExtraContentJsonReturnValueLock = NSLock()
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReturnValue: Bool!
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonReturnValue: Bool! {
|
||||
get { toggleReactionWithExtraContentItemIdKeyExtraContentJsonReturnValueLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReturnValue } }
|
||||
set { toggleReactionWithExtraContentItemIdKeyExtraContentJsonReturnValueLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReturnValue = newValue } }
|
||||
}
|
||||
open var toggleReactionWithExtraContentItemIdKeyExtraContentJsonClosure: ((EventOrTransactionId, String, String?) async throws -> Bool)?
|
||||
|
||||
open override func toggleReactionWithExtraContent(itemId: EventOrTransactionId, key: String, extraContentJson: String?) async throws -> Bool {
|
||||
if let error = toggleReactionWithExtraContentItemIdKeyExtraContentJsonThrowableError {
|
||||
throw error
|
||||
}
|
||||
toggleReactionWithExtraContentItemIdKeyExtraContentJsonCallsCountLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingCallsCount += 1 }
|
||||
toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedArguments = (itemId: itemId, key: key, extraContentJson: extraContentJson)
|
||||
toggleReactionWithExtraContentItemIdKeyExtraContentJsonReceivedInvocationsLock.withLock { toggleReactionWithExtraContentItemIdKeyExtraContentJsonUnderlyingReceivedInvocations.append((itemId: itemId, key: key, extraContentJson: extraContentJson)) }
|
||||
if let toggleReactionWithExtraContentItemIdKeyExtraContentJsonClosure = toggleReactionWithExtraContentItemIdKeyExtraContentJsonClosure {
|
||||
return try await toggleReactionWithExtraContentItemIdKeyExtraContentJsonClosure(itemId, key, extraContentJson)
|
||||
} else {
|
||||
return toggleReactionWithExtraContentItemIdKeyExtraContentJsonReturnValue
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - unpinEvent
|
||||
|
||||
open var unpinEventEventIdThrowableError: Error?
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ packages:
|
||||
# Element/Matrix dependencies
|
||||
MatrixRustSDK:
|
||||
url: https://github.com/element-hq/matrix-rust-components-swift
|
||||
exactVersion: 26.08.07
|
||||
exactVersion: 26.08.11
|
||||
# path: ../matrix-rust-sdk
|
||||
Compound:
|
||||
path: compound-ios
|
||||
|
||||
Reference in New Issue
Block a user