diff options
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 |