diff --git a/imports/Spectral/Panel/RoomListPanel.qml b/imports/Spectral/Panel/RoomListPanel.qml index 2cf0025..452186a 100644 --- a/imports/Spectral/Panel/RoomListPanel.qml +++ b/imports/Spectral/Panel/RoomListPanel.qml @@ -937,14 +937,20 @@ Item { text: "Accept" flat: true - onClicked: currentRoom.acceptInvitation() + onClicked: { + inviteDialog.currentRoom.acceptInvitation() + inviteDialog.close() + } } Button { text: "Reject" flat: true - onClicked: currentRoom.forget() + onClicked: { + inviteDialog.currentRoom.forget() + inviteDialog.close() + } } Button {