aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-11 20:32:20 -0800
committerFriendika <info@friendika.com>2010-11-11 20:32:20 -0800
commit7db4a0dd2ee631c4b0652e5852b1bb6f5ca50e63 (patch)
tree3b2c764f16027fa4221a8f09e726c54b4558abc4 /include/poller.php
parent16ba93a5b14433f5090255999a1958d4bb2ed611 (diff)
downloadvolse-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.php5
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);