]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
Issue 8371: More enhanced logging
[friendica.git] / src / Model / Contact.php
index f199012f1f6deac692bd7f9ca8e176f5eef4e071..9ae27994c7e33e3f19b899f411a3b11ff831e368 100644 (file)
@@ -1621,6 +1621,9 @@ class Contact
                                // Update the gcontact entry
                                if ($uid == 0) {
                                        GContact::updateFromPublicContactID($contact_id);
+                                       if (($data['network'] == Protocol::ACTIVITYPUB) && in_array(DI::config()->get('system', 'gcontact_discovery'), [GContact::DISCOVERY_DIRECT, GContact::DISCOVERY_RECURSIVE])) {
+                                               GContact::discoverFollowers($data['url']);
+                                       }
                                }
                        }
                } else {