diff options
author | zotlabs <mike@macgirvin.com> | 2016-11-30 16:22:31 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-11-30 16:22:31 -0800 |
commit | 5b09829959948b85fa6b156abaa091c40d88a9e1 (patch) | |
tree | bd7dc8050230d7e80dfb72d8d02b2e83c4b00942 /include/conversation.php | |
parent | 1fe1194ef42026b70e62a678133d025dd0553756 (diff) | |
download | volse-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.php | 2 |
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']); } } |