diff --git a/dev/Stores/User/Mailvelope.js b/dev/Stores/User/Mailvelope.js index e811806f0..a4893f2fa 100644 --- a/dev/Stores/User/Mailvelope.js +++ b/dev/Stores/User/Mailvelope.js @@ -53,7 +53,7 @@ export const MailvelopeUserStore = { let emails = [...message.from,...message.to,...message.cc].validUnique(), i = emails.length; while (i--) { - if (await this.getMailvelopePrivateKeyFor(emails[i].email)) { + if (await this.getPrivateKeyFor(emails[i].email)) { /** * https://mailvelope.github.io/mailvelope/Mailvelope.html#createEncryptedFormContainer * Creates an iframe to display an encrypted form