diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-10 01:09:20 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-10 01:09:20 +0200 |
commit | 4af8d7d397849d7240099f2096052b3683786d83 (patch) | |
tree | 709a998600fcfd3ce55f30def7172e8eea673167 /resources | |
parent | Add inviter to the invite reason (diff) | |
download | nheko-4af8d7d397849d7240099f2096052b3683786d83.tar.xz |
Show some generic message for ACL changes
fixes #1476
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/delegates/MessageDelegate.qml | 14 |
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 { |