summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-10 01:09:20 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-10 01:09:20 +0200
commit4af8d7d397849d7240099f2096052b3683786d83 (patch)
tree709a998600fcfd3ce55f30def7172e8eea673167 /resources
parentAdd inviter to the invite reason (diff)
downloadnheko-4af8d7d397849d7240099f2096052b3683786d83.tar.xz
Show some generic message for ACL changes
fixes #1476
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/delegates/MessageDelegate.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/qml/delegates/MessageDelegate.qml b/resources/qml/delegates/MessageDelegate.qml
index 3683ee78..68f65062 100644
--- a/resources/qml/delegates/MessageDelegate.qml
+++ b/resources/qml/delegates/MessageDelegate.qml
@@ -283,6 +283,20 @@ Item {
         }
 
         DelegateChoice {
+            roleValue: MtxEvent.ServerAcl
+
+            NoticeMessage {
+                body: formatted
+                isOnlyEmoji: false
+                isReply: d.isReply
+                keepFullText: d.keepFullText
+                isStateEvent: d.isStateEvent
+                formatted: qsTr("%1 changed which servers are allowed in this room.").arg(d.userName)
+            }
+
+        }
+
+        DelegateChoice {
             roleValue: MtxEvent.Name
 
             NoticeMessage {