fix for errant top-level posts from feeds

pull/1/head
Friendika 2011-10-19 21:54:33 -07:00
rodzic c4179d989f
commit df996a8b5e
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -1341,7 +1341,10 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
$parent_uri = $rawthread[0]['attribs']['']['ref'];
}
if(($is_reply) && is_array($contact) && $pass != 1) {
if(($is_reply) && is_array($contact)) {
if($pass == 1)
continue;
// Have we seen it? If not, import it.