From 2a2a2e0c0577e39c1fc29c35915d19e696b7364a Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 25 Jul 2024 15:22:24 -0400 Subject: [PATCH] Hint that the user can auto-reject invitations on the invite page This should help make the new setting more discoverable. --- src/qml/InvitationView.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qml/InvitationView.qml b/src/qml/InvitationView.qml index ba658c4e5..69e67fd3a 100644 --- a/src/qml/InvitationView.qml +++ b/src/qml/InvitationView.qml @@ -15,7 +15,10 @@ Kirigami.PlaceholderMessage { required property NeoChatRoom currentRoom text: i18n("Accept this invitation?") + explanation: root.currentRoom.connection.canCheckMutualRooms ? i18n("You can reject invitations from unknown users under Security settings.") : "" RowLayout { + Layout.alignment: Qt.AlignHCenter + QQC2.Button { Layout.alignment: Qt.AlignHCenter text: i18nc("@action:button The thing being rejected is an invitation to chat", "Reject and ignore user")