Moved updating personal contacts to updatecontact

This commit is contained in:
Michael 2020-12-04 05:53:11 +00:00
parent 8d999f54d0
commit 9f96f3ef34
7 changed files with 62 additions and 47 deletions

View 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);
}
}