mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Moved updating personal contacts to updatecontact
This commit is contained in:
parent
8d999f54d0
commit
9f96f3ef34
7 changed files with 62 additions and 47 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue