mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
do not add not_here, anon, token and rss contacts to receivers
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user