aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Viewsrc.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-20 20:19:15 -0700
committerMario Vavti <mario@mariovavti.com>2017-04-26 14:16:07 +0200
commitc904bd3a628e4bf3c2420ee314277da69828c3b2 (patch)
tree68a037024e870c207c9a6a89d94edcaadc8a8e39 /Zotlabs/Module/Viewsrc.php
parentd48bda88e61026930866f947523f1c0cbe1659d2 (diff)
downloadvolse-hubzilla-c904bd3a628e4bf3c2420ee314277da69828c3b2.tar.gz
volse-hubzilla-c904bd3a628e4bf3c2420ee314277da69828c3b2.tar.bz2
volse-hubzilla-c904bd3a628e4bf3c2420ee314277da69828c3b2.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']);