mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Do not show the ZRTP SAS dialog again when clicking on wrong letters
This commit is contained in:
parent
b308e2a8a0
commit
83070a9c01
1 changed files with 5 additions and 1 deletions
|
|
@ -474,7 +474,11 @@ class CurrentCallViewModel @UiThread constructor() : ViewModel() {
|
|||
fun updateZrtpSas(verified: Boolean) {
|
||||
coreContext.postOnCoreThread {
|
||||
if (::currentCall.isInitialized) {
|
||||
currentCall.authenticationTokenVerified = verified
|
||||
if (!verified && !currentCall.authenticationTokenVerified) {
|
||||
Log.w("$TAG ZRTP SAS validation failed")
|
||||
} else {
|
||||
currentCall.authenticationTokenVerified = verified
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue