From c9ec4f46b6177f88a41d3c3bdc11e06467101721 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 5 May 2015 18:36:05 -0700 Subject: for hubzilla we won't be obscuring items, only private mail, this will allow us to search and cache private posts --- mod/item.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'mod') diff --git a/mod/item.php b/mod/item.php index a732a9f81..37c4bb24f 100644 --- a/mod/item.php +++ b/mod/item.php @@ -790,14 +790,6 @@ function item_post(&$a) { $datarray['item_flags'] = $datarray['item_flags'] | ITEM_VERIFIED; } } - - logger('Encrypting local storage'); - $key = get_config('system','pubkey'); - $datarray['item_flags'] = $datarray['item_flags'] | ITEM_OBSCURED; - if($datarray['title']) - $datarray['title'] = json_encode(crypto_encapsulate($datarray['title'],$key)); - if($datarray['body']) - $datarray['body'] = json_encode(crypto_encapsulate($datarray['body'],$key)); } if($orig_post) { -- cgit v1.2.3