yhis should fix the privacy leak - as well as non-private replies to private posts

This commit is contained in:
friendica
2013-08-01 14:27:40 -07:00
parent 2a848c0d37
commit 85c7d7165f
4 changed files with 7 additions and 3 deletions

View File

@@ -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)

View File

@@ -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);