summary refs log tree commit diff
path: root/resources/qml/delegates
diff options
context:
space:
mode:
authorBShipman <bhshipman@protonmail.com>2021-06-19 14:11:58 -0500
committerBShipman <bhshipman@protonmail.com>2021-06-19 14:11:58 -0500
commitd3c0392def290ed2cf6547c55c0316ed21d3f708 (patch)
tree3c8a356c1f9c6727c9677df82dc0a92830eb4341 /resources/qml/delegates
parentTranslated using Weblate (Esperanto) (diff)
downloadnheko-d3c0392def290ed2cf6547c55c0316ed21d3f708.tar.xz
add avatar changed event support issue #550
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r--resources/qml/delegates/MessageDelegate.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/qml/delegates/MessageDelegate.qml b/resources/qml/delegates/MessageDelegate.qml
index 9e076a7a..fe76ef88 100644
--- a/resources/qml/delegates/MessageDelegate.qml
+++ b/resources/qml/delegates/MessageDelegate.qml
@@ -149,6 +149,14 @@ Item {
         }
 
         DelegateChoice {
+            roleValue: MtxEvent.Avatar
+
+            NoticeMessage {
+                text: qsTr("%1 changed the room avatar").arg(model.data.userName)
+            }
+        }
+
+        DelegateChoice {
             roleValue: MtxEvent.RoomCreate
 
             NoticeMessage {