mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
#89 Remove debug code from pgpDecrypt()
This commit is contained in:
parent
6b26ddec7a
commit
3615405aac
2 changed files with 1 additions and 3 deletions
|
@ -675,8 +675,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
pgpDecrypt(self) {
|
||||
const message = self.message();
|
||||
message && PgpUserStore.decrypt(message).then(result => {
|
||||
console.dir({decrypt_result:result});
|
||||
if (result) {
|
||||
if (result && result.data) {
|
||||
mimeToMessage(result.data, message);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -93,7 +93,6 @@ trait Pgp
|
|||
// $result['signatures'] = $oPart->SubParts[0];
|
||||
}
|
||||
|
||||
// return $this->DefaultResponse(__FUNCTION__, $oPart);
|
||||
return $this->DefaultResponse(__FUNCTION__, $result);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue