Fixed replaceSipUriByUsername setting not being used in new call related layouts
This commit is contained in:
parent
52247c38d5
commit
429cc17525
1 changed files with 2 additions and 4 deletions
|
@ -30,6 +30,7 @@ import org.linphone.contact.GenericContactData
|
||||||
import org.linphone.core.*
|
import org.linphone.core.*
|
||||||
import org.linphone.core.tools.Log
|
import org.linphone.core.tools.Log
|
||||||
import org.linphone.utils.AppUtils
|
import org.linphone.utils.AppUtils
|
||||||
|
import org.linphone.utils.LinphoneUtils
|
||||||
|
|
||||||
open class CallData(val call: Call) : GenericContactData(call.remoteAddress) {
|
open class CallData(val call: Call) : GenericContactData(call.remoteAddress) {
|
||||||
interface CallContextMenuClickListener {
|
interface CallContextMenuClickListener {
|
||||||
|
@ -107,10 +108,7 @@ open class CallData(val call: Call) : GenericContactData(call.remoteAddress) {
|
||||||
init {
|
init {
|
||||||
call.addListener(listener)
|
call.addListener(listener)
|
||||||
isRemotelyRecorded.value = call.remoteParams?.isRecording
|
isRemotelyRecorded.value = call.remoteParams?.isRecording
|
||||||
|
displayableAddress.value = LinphoneUtils.getDisplayableAddress(call.remoteAddress)
|
||||||
val clone = call.remoteAddress.clone()
|
|
||||||
clone.clean() // To remove GRUU if any
|
|
||||||
displayableAddress.value = clone.asStringUriOnly()
|
|
||||||
|
|
||||||
update()
|
update()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue