The rest of the library and backend changes to support client-side e2ee and deprecate previous uses of item_obscured.
This commit is contained in:
@@ -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']);
|
||||
|
Reference in New Issue
Block a user