Add leave button to space preview
This commit is contained in:
parent
1e701d411b
commit
7bb509005c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user