]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
New option to disable the fetching of parents
[friendica.git] / src / Model / Contact.php
index 2c1ca2d4ce279ad1ac63a38ef206f3de34669d74..c873c3941e8c912519e39aea97e868a661c2f769 100644 (file)
@@ -2449,7 +2449,7 @@ class Contact
 
                $new_pubkey = $ret['pubkey'] ?? '';
 
-               if ($uid == 0) {
+               if ($uid == 0 && DI::config()->get('system', 'fetch_featured_posts')) {
                        if ($ret['network'] == Protocol::ACTIVITYPUB) {
                                $apcontact = APContact::getByURL($ret['url'], false);
                                if (!empty($apcontact['featured'])) {