diff options
author | Friendika <info@friendika.com> | 2010-11-11 20:32:20 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-11 20:32:20 -0800 |
commit | 7db4a0dd2ee631c4b0652e5852b1bb6f5ca50e63 (patch) | |
tree | 3b2c764f16027fa4221a8f09e726c54b4558abc4 /include/poller.php | |
parent | 16ba93a5b14433f5090255999a1958d4bb2ed611 (diff) | |
download | volse-hubzilla-7db4a0dd2ee631c4b0652e5852b1bb6f5ca50e63.tar.gz volse-hubzilla-7db4a0dd2ee631c4b0652e5852b1bb6f5ca50e63.tar.bz2 volse-hubzilla-7db4a0dd2ee631c4b0652e5852b1bb6f5ca50e63.zip |
give orphans a second chance, linkify naked links
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php index f214625a1..3d19d003b 100644 --- a/include/poller.php +++ b/include/poller.php @@ -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); |