Suppress content from hidden or blocked contacts

This commit is contained in:
Michael 2018-02-10 12:34:10 +00:00
parent 25fbdd21c5
commit ee7c587693
5 changed files with 8 additions and 7 deletions

View file

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