aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-01 14:27:40 -0700
committerfriendica <info@friendica.com>2013-08-01 14:27:40 -0700
commit85c7d7165fadd2a569fafda824e4ac83af36ea12 (patch)
treed2c8a17199248a2059fcc72290fde064044e6616 /include
parent2a848c0d3704ac7a4dbce71947c5cb1b362dd749 (diff)
downloadvolse-hubzilla-85c7d7165fadd2a569fafda824e4ac83af36ea12.tar.gz
volse-hubzilla-85c7d7165fadd2a569fafda824e4ac83af36ea12.tar.bz2
volse-hubzilla-85c7d7165fadd2a569fafda824e4ac83af36ea12.zip
yhis should fix the privacy leak - as well as non-private replies to private posts
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php5
-rw-r--r--include/zot.php1
2 files changed, 5 insertions, 1 deletions
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);