diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-10 17:11:03 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-10 17:11:03 -0700 |
commit | 721496f9220fa59059f90d16d3b3fb19337b2f16 (patch) | |
tree | 34e5a739486320a7095146f2c383f80003dd7f92 /include/zot.php | |
parent | be225164ebdde1b76a376fade83b93697507264e (diff) | |
download | volse-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.php | 5 |
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']) |