mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Only do completeOnNewDevice if we received a confirmation code
This commit is contained in:
parent
1e1affbb7b
commit
6e58f2fa51
1 changed files with 1 additions and 1 deletions
|
@ -85,9 +85,9 @@ class QrCodeLoginViewModel @AssistedInject constructor(
|
|||
Timber.tag(TAG).i("Established secure channel with checksum: $confirmationCode")
|
||||
confirmationCode ?.let {
|
||||
onConnectionEstablished(it)
|
||||
}
|
||||
rendezvous.completeOnNewDevice()
|
||||
}
|
||||
}
|
||||
// if (isValidQrCode(action.qrCode)) {
|
||||
// setState {
|
||||
// copy(
|
||||
|
|
Loading…
Reference in a new issue