]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/ActivityPub/Processor.php
Improve SQL-Queries / fixed "fetch_parents" setting
[friendica.git] / src / Protocol / ActivityPub / Processor.php
index 7b2f2ab0c80bf3ea44818398bec2c6c3afccee0f..f142b7e91d148070b0234ef5de97c2923900c028 100644 (file)
@@ -345,7 +345,7 @@ class Processor
                        return [];
                }
 
-               if (!in_array(0, $activity['receiver']) && !DI::config()->get('system', 'fetch_parents')) {
+               if (!in_array(0, $activity['receiver']) || !DI::config()->get('system', 'fetch_parents')) {
                        $fetch_parents = false;
                }