From 421df717fecba69a952167ceb8cb4e58f0b4db39 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 31 Mar 2014 16:29:46 -0700 Subject: doco --- include/items.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/items.php b/include/items.php index b60c0c2f1..3c7732b28 100755 --- a/include/items.php +++ b/include/items.php @@ -81,6 +81,11 @@ function collect_recipients($item,&$private) { $recipients = check_list_permissions($item['uid'],$recipients,'view_stream'); + // remove any upstream recipients from our list. + // If it is ourself we'll add it back in a second. + // This should prevent complex delivery chains from getting overly complex by not + // sending to anybody who is on our list of those who sent it to us. + if($item['route']) { $route = explode(',',$item['route']); if(count($route)) { -- cgit v1.2.3