diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index e836f60f..c7b554b8 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -279,6 +279,13 @@ Item { onClicked: Rooms.declineInvite(roomPreview.roomid) } + FlatButton { + visible: !!room + Layout.alignment: Qt.AlignHCenter + text: qsTr("leave") + onClicked: TimelineManager.openLeaveRoomDialog(room.roomId) + } + ScrollView { id: reasonField property bool showReason: false