Fix avatar name in RoomDrawer for DMs

This commit is contained in:
Tobias Fella
2022-11-28 20:36:28 +01:00
parent 1366158b45
commit 8b5910773c

View File

@@ -195,7 +195,7 @@ Kirigami.OverlayDrawer {
Layout.preferredWidth: Kirigami.Units.gridUnit * 3.5
Layout.preferredHeight: Kirigami.Units.gridUnit * 3.5
name: room ? room.name : i18n("No name")
name: room ? room.displayName : ""
source: room ? ("image://mxc/" + room.avatarMediaId) : ""
}