mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 11:26:01 +03:00
Only do completeOnNewDevice if we received a confirmation code
This commit is contained in:
parent
6e09d90007
commit
86090086b1
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