aboutsummaryrefslogtreecommitdiffstats
path: root/include/message.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-29 16:30:11 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-01 15:12:43 +0200
commitcbc906c438ceefe7265700a4a4e44527b3738e4c (patch)
treeb443934d1cbc859f9c542d0fd12ce0158e3df377 /include/message.php
parentd57169fcf6120dc4d653856eb2207f0fbc73b3bf (diff)
downloadvolse-hubzilla-cbc906c438ceefe7265700a4a4e44527b3738e4c.tar.gz
volse-hubzilla-cbc906c438ceefe7265700a4a4e44527b3738e4c.tar.bz2
volse-hubzilla-cbc906c438ceefe7265700a4a4e44527b3738e4c.zip
more work on client side e2ee
Diffstat (limited to 'include/message.php')
-rw-r--r--include/message.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/message.php b/include/message.php
index 801f4b067..b56f98238 100644
--- a/include/message.php
+++ b/include/message.php
@@ -355,9 +355,6 @@ function private_messages_list($uid, $mailbox = '', $start = 0, $numitems = 0) {
if($r[$k]['body'])
$r[$k]['body'] = base64url_decode(str_rot47($r[$k]['body']));
}
- if($r[$k]['mail_raw'])
- $r[$k]['body'] = mail_prepare_binary([ 'id' => $r[$k]['id'] ]);
-
}
return $r;
@@ -396,8 +393,6 @@ function private_messages_fetch_message($channel_id, $messageitem_id, $updatesee
if($messages[$k]['body'])
$messages[$k]['body'] = base64url_decode(str_rot47($messages[$k]['body']));
}
- if($messages[$k]['mail_raw'])
- $messages[$k]['body'] = mail_prepare_binary([ 'id' => $messages[$k]['id'] ]);
}