summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNepNep21 <nepnep91@protonmail.com>2023-12-17 20:17:43 -0300
committerNepNep21 <nepnep91@protonmail.com>2023-12-17 20:17:43 -0300
commitbfdf87a92dc6a5a18c38fc04af61d306d69ac03c (patch)
tree6fb629ed35596c88a5352d241e15b88508b4daa8 /resources
parentAdd /ignore (diff)
downloadnheko-bfdf87a92dc6a5a18c38fc04af61d306d69ac03c.tar.xz
Multiple changes
More consistent language with similar description strings
Add manpage entry
Add /unignore
Add ignore & decline button in the invite page
Add invite rejection to all ignore methods
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/TimelineView.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index f66df94f..0a255491 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -279,6 +279,16 @@ Item {
         }
         FlatButton {
             Layout.alignment: Qt.AlignHCenter
+            text: qsTr("decline invite and ignore user")
+            visible: roomPreview && roomPreview.isInvite
+
+            onClicked: {
+                var inviter = TimelineManager.getGlobalUserProfile(roomPreview.inviterUserId)
+                inviter.ignored = true
+            }
+        }
+        FlatButton {
+            Layout.alignment: Qt.AlignHCenter
             text: qsTr("leave")
             visible: !!room