mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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) {
|
pgpDecrypt(self) {
|
||||||
const message = self.message();
|
const message = self.message();
|
||||||
message && PgpUserStore.decrypt(message).then(result => {
|
message && PgpUserStore.decrypt(message).then(result => {
|
||||||
console.dir({decrypt_result:result});
|
if (result && result.data) {
|
||||||
if (result) {
|
|
||||||
mimeToMessage(result.data, message);
|
mimeToMessage(result.data, message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,6 @@ trait Pgp
|
||||||
// $result['signatures'] = $oPart->SubParts[0];
|
// $result['signatures'] = $oPart->SubParts[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
// return $this->DefaultResponse(__FUNCTION__, $oPart);
|
|
||||||
return $this->DefaultResponse(__FUNCTION__, $result);
|
return $this->DefaultResponse(__FUNCTION__, $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue