mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
Device Verification: Verify screen: bind transaction.confirmSASMatch()
This commit is contained in:
@@ -61,8 +61,8 @@ final class DeviceVerificationCoordinator: DeviceVerificationCoordinatorType {
|
||||
/// - transaction: an existing device verification transaction
|
||||
convenience init(session: MXSession, transaction: MXSASTransaction) {
|
||||
self.init(session: session,
|
||||
otherUserId: transaction.otherUser,
|
||||
otherDeviceId: transaction.otherDevice)
|
||||
otherUserId: transaction.otherUserId,
|
||||
otherDeviceId: transaction.otherDeviceId)
|
||||
self.transaction = transaction
|
||||
}
|
||||
|
||||
@@ -84,7 +84,12 @@ final class DeviceVerificationCoordinator: DeviceVerificationCoordinatorType {
|
||||
return // TODO
|
||||
}
|
||||
|
||||
let rootCoordinator = sself.createDeviceVerificationStartCoordinator(otherUser: otherUser, otherDevice: otherDevice)
|
||||
//let rootCoordinator = sself.createDeviceVerificationStartCoordinator(otherUser: otherUser, otherDevice: otherDevice)
|
||||
|
||||
// TODO: To remove. Only for dev
|
||||
let rootCoordinator = DeviceVerificationVerifyCoordinator(session: sself.session)
|
||||
rootCoordinator.delegate = self
|
||||
|
||||
rootCoordinator.start()
|
||||
|
||||
sself.add(childCoordinator: rootCoordinator)
|
||||
|
||||
Reference in New Issue
Block a user