diff options
author | friendica <info@friendica.com> | 2012-11-27 03:08:26 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-27 03:08:26 -0800 |
commit | f3fdbb6021bd2e20f728149e7534ffdaadbfda36 (patch) | |
tree | 1f1fef9df782204c5f69f448b325808ee56d6f55 /include/zot.php | |
parent | e916d71cc5c92613fb69f4aeead817bf5bb1c2fc (diff) | |
download | volse-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.php | 4 |
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); |