summary refs log tree commit diff
path: root/resources/qml/TopBar.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-08-13 20:05:26 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-09-11 19:35:31 -0400
commit1fdecdcc213fe91711649243a315ebd11809f0f9 (patch)
tree7b7427123ba2770939851ebde89ec21ef682e432 /resources/qml/TopBar.qml
parentAdd licenses (diff)
downloadnheko-1fdecdcc213fe91711649243a315ebd11809f0f9.tar.xz
Get direct chat jdenticons to line up
Diffstat (limited to 'resources/qml/TopBar.qml')
-rw-r--r--resources/qml/TopBar.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/TopBar.qml b/resources/qml/TopBar.qml
index 7f67c028..0b50f7c6 100644
--- a/resources/qml/TopBar.qml
+++ b/resources/qml/TopBar.qml
@@ -65,6 +65,7 @@ Rectangle {
             width: Nheko.avatarSize
             height: Nheko.avatarSize
             url: avatarUrl.replace("mxc://", "image://MxcImage/")
+            userid: room.roomMemberCount < 3 ? room.directChatAvatarMxid : room.roomId
             displayName: roomName
             onClicked: {
                 if (room)