This commit is contained in:
zotlabs
2016-11-30 16:22:31 -08:00
parent 1fe1194ef4
commit 5b09829959
11 changed files with 307 additions and 169 deletions

View File

@@ -363,7 +363,7 @@ function localize_item(&$item){
if(intval($item['item_obscured'])
&& strlen($item['body']) && (! strpos($item['body'],'data'))) {
$item['body'] = json_encode(crypto_encapsulate($item['body'],get_config('system','pubkey'), CRYPTO_ALGORITHM));
$item['body'] = z_obscure($item['body']);
}
}