diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-03-29 21:46:28 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-03-29 21:46:28 +0200 |
commit | b3cfeb573a47058f7c2a119829875a5286a078ad (patch) | |
tree | 07c5c3f677526d9a00da8f127f73eb03241734ef | |
parent | 70ca247c88d580870af753315f00e2b105ad21ef (diff) | |
download | volse-hubzilla-b3cfeb573a47058f7c2a119829875a5286a078ad.tar.gz volse-hubzilla-b3cfeb573a47058f7c2a119829875a5286a078ad.tar.bz2 volse-hubzilla-b3cfeb573a47058f7c2a119829875a5286a078ad.zip |
do not add not_here, anon, token and rss contacts to receivers
-rw-r--r-- | include/items.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index a7d07a599..3a2b5efb2 100644 --- a/include/items.php +++ b/include/items.php @@ -112,7 +112,7 @@ function collect_recipients($item, &$private_envelope,$include_groups = true) { if ($hookinfo['recipients']) { $r = $hookinfo['recipients']; } else { - $r = q("select abook_xchan, xchan_network from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_self = 0 and abook_pending = 0 and abook_archived = 0 ", + $r = q("select abook_xchan, xchan_network from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_self = 0 and abook_pending = 0 and abook_archived = 0 and abook_not_here = 0 and xchan_network not in ('anon', 'token', 'rss')", intval($item['uid']) ); } @@ -209,7 +209,6 @@ function collect_recipients($item, &$private_envelope,$include_groups = true) { $recipients[] = $item['owner_xchan']; } - return $recipients; } |