Fix invitation.

This commit is contained in:
Black Hat 2019-03-23 10:06:06 +08:00
parent 4463d676d5
commit 70adb8564f
1 changed files with 8 additions and 2 deletions

View File

@ -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 {