mirror of
https://github.com/friendica/friendica
synced 2025-05-09 01:04:13 +02:00
Improved block behaviour
This commit is contained in:
parent
7e84699bdd
commit
d867d73a23
18 changed files with 309 additions and 128 deletions
|
@ -58,6 +58,11 @@ class VCard
|
|||
$photo = Contact::getPhoto($contact);
|
||||
|
||||
if (DI::userSession()->getLocalUserId()) {
|
||||
if (Contact\User::isIsBlocked($contact['id'], DI::userSession()->getLocalUserId())) {
|
||||
$hide_follow = true;
|
||||
$hide_mention = true;
|
||||
}
|
||||
|
||||
if ($contact['uid']) {
|
||||
$id = $contact['id'];
|
||||
$rel = $contact['rel'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue