mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 16:26:44 +03:00
Rename MessagePgpVerify action to PgpVerifyMessage
This commit is contained in:
parent
55e55b7bb7
commit
2fa3508c11
3 changed files with 3 additions and 7 deletions
|
|
@ -206,7 +206,7 @@ export const GnuPGUserStore = new class {
|
|||
data.bodyPart = data.bodyPart.raw;
|
||||
data.sigPart = data.sigPart.body;
|
||||
}
|
||||
let response = await Remote.post('MessagePgpVerify', null, data);
|
||||
let response = await Remote.post('PgpVerifyMessage', null, data);
|
||||
if (response?.Result) {
|
||||
return {
|
||||
fingerprint: response.Result.fingerprint,
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ export const OpenPGPUserStore = new class {
|
|||
data.tryGnuPG = 0;
|
||||
let response;
|
||||
if (data.sigPartId) {
|
||||
response = await Remote.post('MessagePgpVerify', null, data);
|
||||
response = await Remote.post('PgpVerifyMessage', null, data);
|
||||
} else if (data.bodyPart) {
|
||||
// MimePart
|
||||
response = { Result: { text: data.bodyPart.raw, signature: data.sigPart.body } };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue