mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-05 22:05:11 +00:00
show initials avatar for email guests if displayname is set
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
6e3188f1df
commit
8a3f779fdc
@ -206,7 +206,13 @@ class ParticipantItem(
|
||||
}
|
||||
|
||||
Participant.ActorType.EMAILS -> {
|
||||
holder.binding.avatarView.loadMailAvatar(viewThemeUtils)
|
||||
model.displayName?.let {
|
||||
if (TextUtils.isEmpty(it)) {
|
||||
holder.binding.avatarView.loadMailAvatar(viewThemeUtils)
|
||||
} else {
|
||||
holder.binding.avatarView.loadGuestAvatar(user, it, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Participant.ActorType.USERS -> {
|
||||
|
Loading…
Reference in New Issue
Block a user