mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-23 12:08:53 +00:00
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…
x
Reference in New Issue
Block a user