mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-21 20:38:26 +00:00
Fixed generated avatar for SIP URIs without username
This commit is contained in:
parent
95bd14bdd4
commit
22ae4e372f
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class ConversationContactOrSuggestionModel
|
||||||
?: if (friend != null) {
|
?: if (friend != null) {
|
||||||
friend.name ?: LinphoneUtils.getDisplayName(address)
|
friend.name ?: LinphoneUtils.getDisplayName(address)
|
||||||
} else {
|
} else {
|
||||||
address.username.orEmpty()
|
address.username ?: address.domain.orEmpty()
|
||||||
}
|
}
|
||||||
|
|
||||||
val sipUri = if (!corePreferences.hideSipAddresses) {
|
val sipUri = if (!corePreferences.hideSipAddresses) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue