Fixed bug that caused truncation of called telephone number

This commit is contained in:
Juha Heinanen
2025-04-24 22:24:53 +03:00
parent 70d302b513
commit 431caa067e

View File

@ -1693,10 +1693,10 @@ class MainActivity : ComponentActivity() {
showAlert.value = true showAlert.value = true
return return
} }
Utils.telToSip(uriText, ua.account) Utils.telToSip(peerUri, ua.account)
} else {
Utils.uriComplete(uriText, aor)
} }
else
Utils.uriComplete(peerUri, aor)
if (!Utils.checkUri(uri)) { if (!Utils.checkUri(uri)) {
alertTitle.value = getString(R.string.notice) alertTitle.value = getString(R.string.notice)
alertMessage.value = String.format(getString(R.string.invalid_sip_or_tel_uri), uri) alertMessage.value = String.format(getString(R.string.invalid_sip_or_tel_uri), uri)