aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-30 16:22:31 -0800
committerzotlabs <mike@macgirvin.com>2016-11-30 16:22:31 -0800
commit5b09829959948b85fa6b156abaa091c40d88a9e1 (patch)
treebd7dc8050230d7e80dfb72d8d02b2e83c4b00942 /include/conversation.php
parent1fe1194ef42026b70e62a678133d025dd0553756 (diff)
downloadvolse-hubzilla-5b09829959948b85fa6b156abaa091c40d88a9e1.tar.gz
volse-hubzilla-5b09829959948b85fa6b156abaa091c40d88a9e1.tar.bz2
volse-hubzilla-5b09829959948b85fa6b156abaa091c40d88a9e1.zip
zot 1.2
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 16eacd73e..0f61eea27 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -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']);
}
}