Add missing parameters to Contact::block/unblock

This commit is contained in:
Hypolite Petovan 2021-10-09 02:09:01 -04:00
parent 8f518af011
commit 479458a389

View File

@ -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) {