mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Properly handle GnuPG decrypt failure #600
This commit is contained in:
parent
92240e84a6
commit
48f4e51dc5
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ export const GnuPGUserStore = new class {
|
|||
}
|
||||
if (null !== params.Passphrase) {
|
||||
const result = await Remote.post('GnupgDecrypt', null, params);
|
||||
if (result?.Result) {
|
||||
if (result?.Result && false !== result.Result.data) {
|
||||
return result.Result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue