aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-05 18:36:05 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-05 18:36:05 -0700
commitc9ec4f46b6177f88a41d3c3bdc11e06467101721 (patch)
tree902a5b2fbb48aa4bb4343f5e5b4afd59f8106b39 /mod
parentecbe01e3f7ed878dc363c602ebb52ed06e38b91d (diff)
downloadvolse-hubzilla-c9ec4f46b6177f88a41d3c3bdc11e06467101721.tar.gz
volse-hubzilla-c9ec4f46b6177f88a41d3c3bdc11e06467101721.tar.bz2
volse-hubzilla-c9ec4f46b6177f88a41d3c3bdc11e06467101721.zip
for hubzilla we won't be obscuring items, only private mail, this will allow us to search and cache private posts
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php8
1 files changed, 0 insertions, 8 deletions
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) {