Removed old accounts edit

This commit is contained in:
Juha Heinanen
2026-04-15 19:19:09 +03:00
parent 2619a852e0
commit 63bd640791

View File

@ -445,16 +445,6 @@ class BaresipService: Service() {
showStatusNotification()
val accounts = Utils.getFileContents("$filesPath/accounts")
if ((accounts != null) && accounts.isNotEmpty()) {
Utils.putFileContents("$filesPath/accounts",
accounts.toString(Charsets.UTF_8).replace(
"pubint=0;call_transfer",
"pubint=0;inreq_allowed=yes;call_transfer"
).toByteArray(Charsets.UTF_8)
)
}
if (linkAddresses.isEmpty())
toast(getString(R.string.no_network), Toast.LENGTH_LONG)