Remove unneeded fallback for user's display name
The display name falls back to the user id internally.
This commit is contained in:
@@ -41,7 +41,7 @@ Kirigami.ScrollablePage {
|
||||
id: avatar
|
||||
Layout.alignment: Qt.AlignRight
|
||||
source: root.connection && root.connection.localUser.avatarMediaId ? ("image://mxc/" + root.connection.localUser.avatarMediaId) : ""
|
||||
name: root.connection.localUser.displayName ?? root.connection.localUser.id
|
||||
name: root.connection.localUser.displayName
|
||||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
|
||||
Reference in New Issue
Block a user