give orphans a second chance, linkify naked links

This commit is contained in:
Friendika 2010-11-11 20:32:20 -08:00
parent 16ba93a5b1
commit 7db4a0dd2e
4 changed files with 55 additions and 33 deletions

View file

@ -179,6 +179,11 @@
consume_feed($xml,$importer,$contact,$hub);
// do it twice. Ensures that children of parents which may be later in the stream aren't tossed
consume_feed($xml,$importer,$contact,$hub);
if((strlen($hub)) && (($contact['rel'] == REL_BUD) || (($contact['network'] === 'stat') && (! $contact['readonly'])))) {
logger('poller: subscribing to hub(s) : ' . $hub . ' contact name : ' . $contact['name'] . ' local user : ' . $importer['name']);
$hubs = explode(',', $hub);