Rename MessagePgpVerify action to PgpVerifyMessage

This commit is contained in:
the-djmaze 2024-02-19 17:35:48 +01:00
parent 55e55b7bb7
commit 2fa3508c11
3 changed files with 3 additions and 7 deletions

View file

@ -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,

View file

@ -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 } };