aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-27 03:08:26 -0800
committerfriendica <info@friendica.com>2012-11-27 03:08:26 -0800
commitf3fdbb6021bd2e20f728149e7534ffdaadbfda36 (patch)
tree1f1fef9df782204c5f69f448b325808ee56d6f55 /include/zot.php
parente916d71cc5c92613fb69f4aeead817bf5bb1c2fc (diff)
downloadvolse-hubzilla-f3fdbb6021bd2e20f728149e7534ffdaadbfda36.tar.gz
volse-hubzilla-f3fdbb6021bd2e20f728149e7534ffdaadbfda36.tar.bz2
volse-hubzilla-f3fdbb6021bd2e20f728149e7534ffdaadbfda36.zip
tracking through comments
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index aceee5f71..654b17353 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -108,10 +108,12 @@ function zot_build_packet($channel,$type = 'notify',$recipients = null, $remote_
if($secret)
$data['secret'] = $secret;
+ logger('zot_build_packet: ' . print_r($data,true));
+
// Hush-hush ultra top-secret mode
if($remote_key) {
- $data = aes_encapsulate($data,$remote_key);
+ $data = aes_encapsulate(json_encode($data),$remote_key);
}
return json_encode($data);