Always save accounts when v is touched

This commit is contained in:
Juha Heinanen
2023-03-29 11:45:21 +03:00
parent 09b0e874ba
commit 7bdcd14183
2 changed files with 8 additions and 38 deletions
@@ -221,14 +221,6 @@ class Account(val accp: Long) {
return res
}
fun telProviderAccounts(): Array<String> {
val res = ArrayList<String>()
for (account in accounts())
if (account.telProvider != "")
res.add(account.aor.substring(4))
return res.toTypedArray()
}
fun ofAor(aor: String): Account? {
for (ua in BaresipService.uas)
if (ua.account.aor == aor) return ua.account