Removed old accounts edit
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user