aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-31 16:29:46 -0700
committerfriendica <info@friendica.com>2014-03-31 16:29:46 -0700
commit421df717fecba69a952167ceb8cb4e58f0b4db39 (patch)
tree8734db80c16eee0479eb3ef3a44294139cad378b /include/items.php
parentced6d826334c3d4979c296bb292fbc393cc6a034 (diff)
downloadvolse-hubzilla-421df717fecba69a952167ceb8cb4e58f0b4db39.tar.gz
volse-hubzilla-421df717fecba69a952167ceb8cb4e58f0b4db39.tar.bz2
volse-hubzilla-421df717fecba69a952167ceb8cb4e58f0b4db39.zip
doco
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php5
1 files changed, 5 insertions, 0 deletions
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)) {