]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsub.php
make sure to use local avatar if we have one
[friendica.git] / mod / pubsub.php
index 760ffa9e9ff64c762dd17d6a8576c42bc220fd50..c55100c96a3a5b54cc323d645012e72a3e9a0539 100644 (file)
@@ -113,7 +113,11 @@ function pubsub_post(&$a) {
 
        require_once('include/items.php');
 
-       consume_feed($xml,$importer,$contact,$feedhub);
+       consume_feed($xml,$importer,$contact,$feedhub,1);
+
+       // do it a second time so that any children find their parents.
+
+       consume_feed($xml,$importer,$contact,$feedhub,1);
 
        hub_post_return();