From 41343b32c5f9bb640ec92b6e19e95ebe4955cd98 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 23 Apr 2015 21:45:42 -0700 Subject: block unfederated posts from zot_feed --- include/items.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 3fb1f3cfe..7f96bfb4b 100755 --- a/include/items.php +++ b/include/items.php @@ -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 : ''); -- cgit v1.2.3