block unfederated posts from zot_feed

This commit is contained in:
friendica 2015-04-23 21:45:42 -07:00
parent ca305f5421
commit 41343b32c5

View File

@ -4446,6 +4446,12 @@ function zot_feed($uid,$observer_xchan,$arr) {
}
if($r) {
for($x = 0; $x < count($r); $x ++) {
if(strpos($r[$x]['postopts'],'nodeliver') !== false) {
unset($r[$x]);
}
}
$parents_str = ids_to_querystr($r,'parent');
$sys_query = ((is_sys_channel($uid)) ? $sql_extra : '');