Update the RustSDK to v26.03.02
This commit is contained in:
committed by
Stefan Ceriu
parent
f085c9d742
commit
5d973eb231
@@ -6891,71 +6891,6 @@ open class ClientBuilderSDKMock: MatrixRustSDK.ClientBuilder, @unchecked Sendabl
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - enableOidcRefreshLock
|
||||
|
||||
open var enableOidcRefreshLockUnderlyingCallsCount = 0
|
||||
open var enableOidcRefreshLockCallsCount: Int {
|
||||
get {
|
||||
if Thread.isMainThread {
|
||||
return enableOidcRefreshLockUnderlyingCallsCount
|
||||
} else {
|
||||
var returnValue: Int? = nil
|
||||
DispatchQueue.main.sync {
|
||||
returnValue = enableOidcRefreshLockUnderlyingCallsCount
|
||||
}
|
||||
|
||||
return returnValue!
|
||||
}
|
||||
}
|
||||
set {
|
||||
if Thread.isMainThread {
|
||||
enableOidcRefreshLockUnderlyingCallsCount = newValue
|
||||
} else {
|
||||
DispatchQueue.main.sync {
|
||||
enableOidcRefreshLockUnderlyingCallsCount = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
open var enableOidcRefreshLockCalled: Bool {
|
||||
return enableOidcRefreshLockCallsCount > 0
|
||||
}
|
||||
|
||||
open var enableOidcRefreshLockUnderlyingReturnValue: ClientBuilder!
|
||||
open var enableOidcRefreshLockReturnValue: ClientBuilder! {
|
||||
get {
|
||||
if Thread.isMainThread {
|
||||
return enableOidcRefreshLockUnderlyingReturnValue
|
||||
} else {
|
||||
var returnValue: ClientBuilder? = nil
|
||||
DispatchQueue.main.sync {
|
||||
returnValue = enableOidcRefreshLockUnderlyingReturnValue
|
||||
}
|
||||
|
||||
return returnValue!
|
||||
}
|
||||
}
|
||||
set {
|
||||
if Thread.isMainThread {
|
||||
enableOidcRefreshLockUnderlyingReturnValue = newValue
|
||||
} else {
|
||||
DispatchQueue.main.sync {
|
||||
enableOidcRefreshLockUnderlyingReturnValue = newValue
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
open var enableOidcRefreshLockClosure: (() -> ClientBuilder)?
|
||||
|
||||
open override func enableOidcRefreshLock() -> ClientBuilder {
|
||||
enableOidcRefreshLockCallsCount += 1
|
||||
if let enableOidcRefreshLockClosure = enableOidcRefreshLockClosure {
|
||||
return enableOidcRefreshLockClosure()
|
||||
} else {
|
||||
return enableOidcRefreshLockReturnValue
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - enableShareHistoryOnInvite
|
||||
|
||||
open var enableShareHistoryOnInviteEnableShareHistoryOnInviteUnderlyingCallsCount = 0
|
||||
|
||||
Reference in New Issue
Block a user