fix: remove patch

This commit is contained in:
hydrogen 2020-12-07 17:23:52 +02:00 committed by Jonathan Rainville
parent 92c25433e1
commit 12bdec6b39
1 changed files with 4 additions and 3 deletions

View File

@ -154,10 +154,9 @@ ModalPopup {
}
}
ConfirmationDialog {
UnblockContactConfirmationDialog {
id: unblockContactConfirmationDialog
title: qsTr("Unblock user")
onConfirmButtonClicked: {
onUnblockButtonClicked: {
profileModel.unblockContact(fromAuthor)
unblockContactConfirmationDialog.close();
popup.close()
@ -397,6 +396,8 @@ ModalPopup {
anchors.bottom: parent.bottom
onClicked: {
if (isBlocked) {
unblockContactConfirmationDialog.contactName = userName;
unblockContactConfirmationDialog.contactAddress = fromAuthor;
unblockContactConfirmationDialog.open();
return;
}