Reverted move of ;extra parameter
This commit is contained in:
@ -132,6 +132,8 @@ class Account(val accp: Long) {
|
|||||||
if (answerMode == Api.ANSWERMODE_AUTO)
|
if (answerMode == Api.ANSWERMODE_AUTO)
|
||||||
res += ";answermode=auto"
|
res += ";answermode=auto"
|
||||||
|
|
||||||
|
res += ";ptime=20;regint=${regint};regq=0.5;pubint=0;call_transfer=yes;100rel=no"
|
||||||
|
|
||||||
var extra = ""
|
var extra = ""
|
||||||
|
|
||||||
if (nickName != "")
|
if (nickName != "")
|
||||||
@ -152,8 +154,6 @@ class Account(val accp: Long) {
|
|||||||
if (extra !="")
|
if (extra !="")
|
||||||
res += ";extra=\"" + extra.substringAfter(";") + "\""
|
res += ";extra=\"" + extra.substringAfter(";") + "\""
|
||||||
|
|
||||||
res += ";ptime=20;regint=${regint};regq=0.5;pubint=0;call_transfer=yes;100rel=no"
|
|
||||||
|
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -121,6 +121,8 @@ class AccountActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
onBackPressedDispatcher.addCallback(this, onBackPressedCallback)
|
onBackPressedDispatcher.addCallback(this, onBackPressedCallback)
|
||||||
|
|
||||||
|
// Api.account_debug(acc.accp)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initAccountFromConfig(ctx: AccountActivity) {
|
private fun initAccountFromConfig(ctx: AccountActivity) {
|
||||||
|
|||||||
Reference in New Issue
Block a user