mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
updated SDK and improved report flow
the report flow is now based on the matrix version and the new one will only be used if the SDK checks if the server supports it.
This commit is contained in:
@@ -2303,6 +2303,23 @@ class ClientProxyMock: ClientProxyProtocol, @unchecked Sendable {
|
||||
}
|
||||
var underlyingSecureBackupController: SecureBackupControllerProtocol!
|
||||
var sessionVerificationController: SessionVerificationControllerProxyProtocol?
|
||||
var isReportRoomSupportedCallsCount = 0
|
||||
var isReportRoomSupportedCalled: Bool {
|
||||
return isReportRoomSupportedCallsCount > 0
|
||||
}
|
||||
|
||||
var isReportRoomSupported: Bool {
|
||||
get async {
|
||||
isReportRoomSupportedCallsCount += 1
|
||||
if let isReportRoomSupportedClosure = isReportRoomSupportedClosure {
|
||||
return await isReportRoomSupportedClosure()
|
||||
} else {
|
||||
return underlyingIsReportRoomSupported
|
||||
}
|
||||
}
|
||||
}
|
||||
var underlyingIsReportRoomSupported: Bool!
|
||||
var isReportRoomSupportedClosure: (() async -> Bool)?
|
||||
|
||||
//MARK: - isOnlyDeviceLeft
|
||||
|
||||
|
||||
Reference in New Issue
Block a user