aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorAndrew Manning <andrew@reticu.li>2016-11-30 21:22:51 -0500
committerAndrew Manning <andrew@reticu.li>2016-11-30 21:22:51 -0500
commit3f838e1dbccab819ce0cf93b079afea8d41d2a7a (patch)
treef76eb1fbb01cb3917474613c0f0bcfbe74ba0aa3 /include/conversation.php
parent50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794 (diff)
parentc845eed114ec3cea90acd35c419110d9ab76051f (diff)
downloadvolse-hubzilla-3f838e1dbccab819ce0cf93b079afea8d41d2a7a.tar.gz
volse-hubzilla-3f838e1dbccab819ce0cf93b079afea8d41d2a7a.tar.bz2
volse-hubzilla-3f838e1dbccab819ce0cf93b079afea8d41d2a7a.zip
Merge remote-tracking branch 'upstream/dev' into doco
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']);
}
}