]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
Merge pull request #9893 from MrPetovan/bug/9879-empty-plurals
[friendica.git] / src / Module / Contact.php
index 4d4508a8cc32f1a24d5c8c811b5c2d67f13add08..f82b7d3cc110606d1a615b682a346a25ab918c19 100644 (file)
@@ -181,9 +181,11 @@ class Contact extends BaseModule
                        if ($result['success']) {
                                DBA::update('contact', ['subhub' => 1], ['id' => $contact_id]);
                        }
-               } else {
+
                        // pull feed and consume it, which should subscribe to the hub.
                        Worker::add(PRIORITY_HIGH, 'OnePoll', $contact_id, 'force');
+               } else {
+                       Worker::add(PRIORITY_HIGH, 'UpdateContact', $contact_id);
                }
        }