fix(ProfilePopup): make unblocking contacts/users work
There's a bug in the profile popup where we're calling an API that actually doesn't exist. This commit fixes it by calling into the correct `profileModel` member, to make unblocking users work.
This commit is contained in:
parent
62183fb414
commit
bdbd9aa2b9
|
@ -354,7 +354,7 @@ ModalPopup {
|
|||
UnblockContactConfirmationDialog {
|
||||
id: unblockContactConfirmationDialog
|
||||
onUnblockButtonClicked: {
|
||||
profileModel.unblockContact(fromAuthor)
|
||||
profileModel.contacts.unblockContact(fromAuthor)
|
||||
unblockContactConfirmationDialog.close();
|
||||
popup.close()
|
||||
contactUnblocked(fromAuthor)
|
||||
|
|
Loading…
Reference in New Issue