aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Viewsrc.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-20 20:19:15 -0700
committerzotlabs <mike@macgirvin.com>2017-04-20 20:19:15 -0700
commit94f15e355166f0abd3698414948abff2397a7ad0 (patch)
tree48202430a91a6498aca71a0f4bf3ae90076169ba /Zotlabs/Module/Viewsrc.php
parent2d90b831f0af1c276cc590a5fcec427de3eb32f8 (diff)
downloadvolse-hubzilla-94f15e355166f0abd3698414948abff2397a7ad0.tar.gz
volse-hubzilla-94f15e355166f0abd3698414948abff2397a7ad0.tar.bz2
volse-hubzilla-94f15e355166f0abd3698414948abff2397a7ad0.zip
The rest of the library and backend changes to support client-side e2ee and deprecate previous uses of item_obscured.
Diffstat (limited to 'Zotlabs/Module/Viewsrc.php')
-rw-r--r--Zotlabs/Module/Viewsrc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Viewsrc.php b/Zotlabs/Module/Viewsrc.php
index f84eddc69..54ab89e81 100644
--- a/Zotlabs/Module/Viewsrc.php
+++ b/Zotlabs/Module/Viewsrc.php
@@ -36,7 +36,7 @@ class Viewsrc extends \Zotlabs\Web\Controller {
if($r) {
if(intval($r[0]['item_obscured']))
- $r[0]['body'] = crypto_unencapsulate(json_decode($r[0]['body'],true),get_config('system','prvkey'));
+ $dload = true;
if($dload) {
header('Content-type: ' . $r[0]['mimetype']);