From ac4ce27e88fa8d5c5298e2a35538215fed596dd4 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 10 Aug 2011 21:46:19 -0700 Subject: keep private emails out of any offsite feeds --- include/notifier.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/notifier.php') diff --git a/include/notifier.php b/include/notifier.php index e1bb29eaf..bd78d7560 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -289,6 +289,11 @@ function notifier_run($argv, $argc){ if(! $item['parent']) continue; + // private emails may be in included in public conversations. Filter them. + + if(($notify_hub) && $item['private']) + continue; + $contact = get_item_contact($item,$contacts); if(! $contact) continue; -- cgit v1.2.3