From 479458a389e32a129085317bdaf84f7d8e9a0459 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 9 Oct 2021 02:09:01 -0400 Subject: [PATCH] Add missing parameters to Contact::block/unblock --- src/Model/Contact/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Contact/User.php b/src/Model/Contact/User.php index 7d6ce17da..05530cccc 100644 --- a/src/Model/Contact/User.php +++ b/src/Model/Contact/User.php @@ -148,9 +148,9 @@ class User $contact = Contact::getById($cdata['public']); if ($blocked) { - Protocol::block($contact); + Protocol::block($contact, $uid); } else { - Protocol::unblock($contact); + Protocol::unblock($contact, $uid); } if ($cdata['user'] != 0) {