Merge pull request #10854 from MrPetovan/bug/10844-unfollow

Replace remaining explicit network value checks by Protocol::supportsFollow calls
This commit is contained in:
Philipp 2021-10-09 09:23:12 +02:00 committed by GitHub
commit 58215e56c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 11 deletions

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