From 85c7d7165fadd2a569fafda824e4ac83af36ea12 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 1 Aug 2013 14:27:40 -0700 Subject: yhis should fix the privacy leak - as well as non-private replies to private posts --- include/notifier.php | 5 ++++- include/zot.php | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/notifier.php b/include/notifier.php index f0434330e..dea9d6072 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -328,7 +328,10 @@ function notifier_run($argv, $argc){ // Generic delivery section, we have an encoded item and recipients // Now start the delivery process -// logger('notifier: encoded item: ' . print_r($encoded_item,true)); + $x = $encoded_item; + $x['title'] = 'private'; + $x['body'] = 'private'; + logger('notifier: encoded item: ' . print_r($x,true), LOGGER_DATA); stringify_array_elms($recipients); if(! $recipients) diff --git a/include/zot.php b/include/zot.php index b4e005076..437ec0c86 100644 --- a/include/zot.php +++ b/include/zot.php @@ -838,6 +838,7 @@ function zot_import($arr) { logger('Activity rejected: probable failure to lookup author/owner. ' . print_r($i['message'],true)); continue; } + logger('Activity received: ' . print_r($arr,true), LOGGER_DATA); logger('Activity recipients: ' . print_r($deliveries,true), LOGGER_DATA); -- cgit v1.2.3