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:
Pascal Precht 2021-01-28 12:23:56 +01:00 committed by Pascal Precht
parent 62183fb414
commit bdbd9aa2b9
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ ModalPopup {
UnblockContactConfirmationDialog {
id: unblockContactConfirmationDialog
onUnblockButtonClicked: {
profileModel.unblockContact(fromAuthor)
profileModel.contacts.unblockContact(fromAuthor)
unblockContactConfirmationDialog.close();
popup.close()
contactUnblocked(fromAuthor)