aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-26 18:58:48 -0700
committerfriendica <info@friendica.com>2014-08-26 18:58:48 -0700
commit6a42d6fe3b1e50af16942d0f22e8cfa01abfde39 (patch)
treec4bc72223e915a2e83aed11ca09daa059ad6a8c3 /include/zot.php
parente42205cec25fbe7ee93fde4a0f267d54b0e30193 (diff)
downloadvolse-hubzilla-6a42d6fe3b1e50af16942d0f22e8cfa01abfde39.tar.gz
volse-hubzilla-6a42d6fe3b1e50af16942d0f22e8cfa01abfde39.tar.bz2
volse-hubzilla-6a42d6fe3b1e50af16942d0f22e8cfa01abfde39.zip
works one way sort of - now to go the other way - which will require fixing a whole slew of FIXMEs
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 65c092b93..54efe1343 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -117,8 +117,11 @@ function zot_build_packet($channel,$type = 'notify',$recipients = null, $remote_
'version' => ZOT_REVISION
);
- if($recipients)
+ if($recipients) {
+ for($x = 0; $x < count($recipients); $x ++)
+ unset($recipients[$x]['hash']);
$data['recipients'] = $recipients;
+ }
if($secret) {
$data['secret'] = $secret;