tracking through comments

This commit is contained in:
friendica
2012-11-27 03:08:26 -08:00
parent e916d71cc5
commit f3fdbb6021
2 changed files with 12 additions and 4 deletions

View File

@@ -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);