From f3fdbb6021bd2e20f728149e7534ffdaadbfda36 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 27 Nov 2012 03:08:26 -0800 Subject: tracking through comments --- include/zot.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/zot.php') 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); -- cgit v1.2.3