diff options
author | NepNep21 <nepnep91@protonmail.com> | 2023-12-17 20:17:43 -0300 |
---|---|---|
committer | NepNep21 <nepnep91@protonmail.com> | 2023-12-17 20:17:43 -0300 |
commit | bfdf87a92dc6a5a18c38fc04af61d306d69ac03c (patch) | |
tree | 6fb629ed35596c88a5352d241e15b88508b4daa8 /resources | |
parent | Add /ignore (diff) | |
download | nheko-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.qml | 10 |
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 |