mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Bump the RustSDK to v25.12.09
This commit is contained in:
committed by
Stefan Ceriu
parent
81a43048e4
commit
82ee555844
@@ -9538,7 +9538,7 @@
|
||||
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 25.12.07;
|
||||
version = 25.12.09;
|
||||
};
|
||||
};
|
||||
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
||||
|
||||
@@ -158,8 +158,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
||||
"state" : {
|
||||
"revision" : "9fc6389d79cb309117cf2026b787d6274ac51ad2",
|
||||
"version" : "25.12.7"
|
||||
"revision" : "7fb8ca4b8c04e849c6142b94aa2190b56e2cfe52",
|
||||
"version" : "25.12.9"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -12857,6 +12857,71 @@ open class QrCodeDataSDKMock: MatrixRustSDK.QrCodeData, @unchecked Sendable {
|
||||
return serverNameReturnValue
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - toBytes
|
||||
|
||||
var toBytesUnderlyingCallsCount = 0
|
||||
open var toBytesCallsCount: Int {
|
||||
get {
|
||||
if Thread.isMainThread {
|
||||
return toBytesUnderlyingCallsCount
|
||||
} else {
|
||||
var returnValue: Int? = nil
|
||||
DispatchQueue.main.sync {
|
||||
returnValue = toBytesUnderlyingCallsCount
|
||||
}
|
||||
|
||||
return returnValue!
|
||||
}
|
||||
}
|
||||
set {
|
||||
if Thread.isMainThread {
|
||||
toBytesUnderlyingCallsCount = newValue
|
||||
} else {
|
||||
DispatchQueue.main.sync {
|
||||
toBytesUnderlyingCallsCount = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
open var toBytesCalled: Bool {
|
||||
return toBytesCallsCount > 0
|
||||
}
|
||||
|
||||
var toBytesUnderlyingReturnValue: Data!
|
||||
open var toBytesReturnValue: Data! {
|
||||
get {
|
||||
if Thread.isMainThread {
|
||||
return toBytesUnderlyingReturnValue
|
||||
} else {
|
||||
var returnValue: Data? = nil
|
||||
DispatchQueue.main.sync {
|
||||
returnValue = toBytesUnderlyingReturnValue
|
||||
}
|
||||
|
||||
return returnValue!
|
||||
}
|
||||
}
|
||||
set {
|
||||
if Thread.isMainThread {
|
||||
toBytesUnderlyingReturnValue = newValue
|
||||
} else {
|
||||
DispatchQueue.main.sync {
|
||||
toBytesUnderlyingReturnValue = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
open var toBytesClosure: (() -> Data)?
|
||||
|
||||
open override func toBytes() -> Data {
|
||||
toBytesCallsCount += 1
|
||||
if let toBytesClosure = toBytesClosure {
|
||||
return toBytesClosure()
|
||||
} else {
|
||||
return toBytesReturnValue
|
||||
}
|
||||
}
|
||||
}
|
||||
open class RoomSDKMock: MatrixRustSDK.Room, @unchecked Sendable {
|
||||
init() {
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ packages:
|
||||
# Element/Matrix dependencies
|
||||
MatrixRustSDK:
|
||||
url: https://github.com/element-hq/matrix-rust-components-swift
|
||||
exactVersion: 25.12.07
|
||||
exactVersion: 25.12.09
|
||||
# path: ../matrix-rust-sdk
|
||||
Compound:
|
||||
path: compound-ios
|
||||
|
||||
Reference in New Issue
Block a user