yhis should fix the privacy leak - as well as non-private replies to private posts
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user