parent
edb4af0d1a
commit
cd7ccd833d
|
@ -257,13 +257,18 @@ Pane {
|
|||
|
||||
ConfirmationDialog {
|
||||
id: removeContactConfirmationDialog
|
||||
header.title: qsTr("Remove contact '%1'").arg(d.mainDisplayName)
|
||||
confirmationText: qsTr("This will remove the user as a contact. Please confirm.")
|
||||
header.title: qsTr("Remove '%1' as a contact").arg(d.mainDisplayName)
|
||||
confirmationText: qsTr("This will mean that you and '%1' will no longer be able to send direct messages to each other. You will need to send them a new Contact Request in order to message again. All previous direct messages between you and '%1' will be retained in read-only mode.").arg(d.mainDisplayName)
|
||||
showCancelButton: true
|
||||
cancelBtnType: ""
|
||||
onConfirmButtonClicked: {
|
||||
root.contactsStore.removeContact(root.publicKey)
|
||||
close()
|
||||
d.reload()
|
||||
}
|
||||
onCancelButtonClicked: {
|
||||
removeContactConfirmationDialog.close();
|
||||
}
|
||||
}
|
||||
|
||||
ConfirmationDialog {
|
||||
|
|
Loading…
Reference in New Issue