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);
|
||||
|
||||
|
||||
@@ -684,7 +684,7 @@ function item_post(&$a) {
|
||||
dbesc($parent_item['allow_gid']),
|
||||
dbesc($parent_item['deny_cid']),
|
||||
dbesc($parent_item['deny_gid']),
|
||||
intval($parent_item['private']),
|
||||
intval($parent_item['item_private']),
|
||||
intval($post_id)
|
||||
);
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
2013-07-31.391
|
||||
2013-08-01.392
|
||||
|
||||
Reference in New Issue
Block a user