mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:10:10 +00:00
the rest of pubsubhubbub except for the UI that actually turns it on
This commit is contained in:
parent
632c557008
commit
0d2650b29b
4 changed files with 50 additions and 4 deletions
|
@ -161,7 +161,13 @@
|
|||
continue;
|
||||
|
||||
|
||||
consume_feed($xml,$importer,$contact);
|
||||
consume_feed($xml,$importer,$contact,$hub);
|
||||
|
||||
|
||||
if($contact['usehub'] && strlen($hub)) {
|
||||
subscribe_to_hub($hub,$importer,$contact);
|
||||
}
|
||||
|
||||
|
||||
$r = q("UPDATE `contact` SET `last-update` = '%s' WHERE `id` = %d LIMIT 1",
|
||||
dbesc(datetime_convert()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue