always register when account is saved and register has been checked
This commit is contained in:
@ -263,10 +263,10 @@ class AccountActivity : AppCompatActivity() {
|
||||
AccountsActivity.saveAccounts()
|
||||
if (UserAgent.ua_update_account(MainActivity.uas[uaIndex].uap) != 0)
|
||||
Log.e("Baresip", "Failed to update UA with AoR $aor")
|
||||
if (newRegint > 0)
|
||||
UserAgent.ua_register(MainActivity.uas[uaIndex].uap)
|
||||
}
|
||||
|
||||
if (newRegint > 0) UserAgent.ua_register(MainActivity.uas[uaIndex].uap)
|
||||
|
||||
setResult(RESULT_OK, intent)
|
||||
finish()
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user