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,9 +79,9 @@ class QrCodeLoginViewModel @AssistedInject constructor(
|
||||
Timber.tag(TAG).i("Established secure channel with checksum: $confirmationCode")
|
||||
confirmationCode ?.let {
|
||||
onConnectionEstablished(it)
|
||||
}
|
||||
rendezvous.completeOnNewDevice()
|
||||
}
|
||||
}
|
||||
|
||||
// TODO. UI test purpose. Fixme remove!
|
||||
viewModelScope.launch {
|
||||
|
Loading…
Reference in New Issue
Block a user