]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ActivityPub/Objects.php
Fix: Forum posts from some contacts weren't distributed
[friendica.git] / src / Module / ActivityPub / Objects.php
index fd3a2d66c34717532dcfebb27d3f0fdda0681026..9aeef3bb52a66ca03fc22e5f0cc31ba0a770438a 100644 (file)
@@ -75,9 +75,7 @@ class Objects extends BaseModule
                        throw new HTTPException\NotFoundException();
                }
 
-               $owner = User::getById($item['uid'], ['hidewall']);
-
-               $validated = empty($owner['hidewall']) && in_array($item['private'], [Item::PUBLIC, Item::UNLISTED]);
+               $validated = in_array($item['private'], [Item::PUBLIC, Item::UNLISTED]);
 
                if (!$validated) {
                        $requester = HTTPSignature::getSigner('', $_SERVER);