mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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) {
|
if (null !== params.Passphrase) {
|
||||||
const result = await Remote.post('GnupgDecrypt', null, params);
|
const result = await Remote.post('GnupgDecrypt', null, params);
|
||||||
if (result?.Result) {
|
if (result?.Result && false !== result.Result.data) {
|
||||||
return result.Result;
|
return result.Result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue