mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Use participant device display name in conference if device name is empty
This commit is contained in:
parent
fac6e42c22
commit
8f0f6581b2
1 changed files with 3 additions and 3 deletions
|
|
@ -42,9 +42,9 @@ class ConferenceParticipantDeviceModel
|
|||
|
||||
val avatarModel = coreContext.contactsManager.getContactAvatarModelForAddress(device.address)
|
||||
|
||||
val name = avatarModel.contactName ?: device.name ?: LinphoneUtils.getDisplayName(
|
||||
device.address
|
||||
)
|
||||
val name = avatarModel.contactName ?: device.name.orEmpty().ifEmpty {
|
||||
LinphoneUtils.getDisplayName(device.address)
|
||||
}
|
||||
|
||||
val isMuted = MutableLiveData<Boolean>()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue