hubzilla issue #1169
This commit is contained in:
@@ -1332,6 +1332,12 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
|
||||
// immediate parent wasn't found. Turn into a top-level post if permissions allow
|
||||
// but save the thread_parent in case we need to refer to it later.
|
||||
|
||||
if($importer['channel_system']) {
|
||||
if( ! \Zotlabs\Lib\MessageFilter::evaluate($datarray,get_config('system','pubstream_incl'),get_config('system','pubstream_excl'))) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if(! post_is_importable($datarray, $contact))
|
||||
continue;
|
||||
|
||||
@@ -1482,6 +1488,12 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
|
||||
$author['owner_avatar'] = $contact['thumb'];
|
||||
}
|
||||
|
||||
if($importer['channel_system']) {
|
||||
if( ! \Zotlabs\Lib\MessageFilter::evaluate($datarray,get_config('system','pubstream_incl'),get_config('system','pubstream_excl'))) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if(! post_is_importable($datarray, $contact))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user