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.tools.Log
|
||||
import org.linphone.utils.AppUtils
|
||||
import org.linphone.utils.LinphoneUtils
|
||||
|
||||
open class CallData(val call: Call) : GenericContactData(call.remoteAddress) {
|
||||
interface CallContextMenuClickListener {
|
||||
|
@ -107,10 +108,7 @@ open class CallData(val call: Call) : GenericContactData(call.remoteAddress) {
|
|||
init {
|
||||
call.addListener(listener)
|
||||
isRemotelyRecorded.value = call.remoteParams?.isRecording
|
||||
|
||||
val clone = call.remoteAddress.clone()
|
||||
clone.clean() // To remove GRUU if any
|
||||
displayableAddress.value = clone.asStringUriOnly()
|
||||
displayableAddress.value = LinphoneUtils.getDisplayableAddress(call.remoteAddress)
|
||||
|
||||
update()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue