Always pass displayName without matrix id to avatar name

BUG: 456638
This commit is contained in:
Tobias Fella
2022-10-23 17:44:53 +02:00
parent a287e61b5a
commit 10667f98ef
4 changed files with 11 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ QQC2.ItemDelegate {
visible: model.showAuthor &&
Config.showAvatarInTimeline &&
(Config.compactLayout || !showUserMessageOnRight)
name: model.author.name ?? model.author.displayName
name: model.displayNameForInitials
source: visible && model.author.avatarMediaId ? ("image://mxc/" + model.author.avatarMediaId) : ""
color: model.author.color