aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-10 17:11:03 -0700
committerzotlabs <mike@macgirvin.com>2018-05-10 17:11:03 -0700
commit721496f9220fa59059f90d16d3b3fb19337b2f16 (patch)
tree34e5a739486320a7095146f2c383f80003dd7f92 /include/zot.php
parentbe225164ebdde1b76a376fade83b93697507264e (diff)
downloadvolse-hubzilla-721496f9220fa59059f90d16d3b3fb19337b2f16.tar.gz
volse-hubzilla-721496f9220fa59059f90d16d3b3fb19337b2f16.tar.bz2
volse-hubzilla-721496f9220fa59059f90d16d3b3fb19337b2f16.zip
hubzilla issue #1169
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 0343f4464..14c9f6ae5 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1787,6 +1787,10 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
$local_public = false;
continue;
}
+ if(! \Zotlabs\Lib\MessageFilter::evaluate($arr,get_config('system','pubstream_incl'),get_config('system','pubstream_excl'))) {
+ $local_public = false;
+ continue;
+ }
}
$tag_delivery = tgroup_check($channel['channel_id'],$arr);
@@ -1923,6 +1927,7 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $
continue;
}
+
$r = q("select * from item where mid = '%s' and uid = %d limit 1",
dbesc($arr['mid']),
intval($channel['channel_id'])