mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Only do completeOnNewDevice if we received a confirmation code
This commit is contained in:
parent
ef574bd82f
commit
b03240330d
@ -79,8 +79,8 @@ class QrCodeLoginViewModel @AssistedInject constructor(
|
|||||||
Timber.tag(TAG).i("Established secure channel with checksum: $confirmationCode")
|
Timber.tag(TAG).i("Established secure channel with checksum: $confirmationCode")
|
||||||
confirmationCode ?.let {
|
confirmationCode ?.let {
|
||||||
onConnectionEstablished(it)
|
onConnectionEstablished(it)
|
||||||
|
rendezvous.completeOnNewDevice()
|
||||||
}
|
}
|
||||||
rendezvous.completeOnNewDevice()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO. UI test purpose. Fixme remove!
|
// TODO. UI test purpose. Fixme remove!
|
||||||
|
Loading…
Reference in New Issue
Block a user