mirror of
https://github.com/friendica/friendica
synced 2025-04-27 18:30:12 +00:00
Suppress content from hidden or blocked contacts
This commit is contained in:
parent
25fbdd21c5
commit
ee7c587693
5 changed files with 8 additions and 7 deletions
|
@ -896,11 +896,6 @@ class Item extends BaseObject
|
|||
return;
|
||||
}
|
||||
|
||||
// Is the public contact configured as hidden?
|
||||
if (Contact::isHidden($item["owner-id"]) || Contact::isHidden($item["author-id"])) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Only do these checks if the post isn't a wall post
|
||||
if (!$item["wall"]) {
|
||||
// Check, if hide-friends is activated - then don't do a shadow entry
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue