Add ANDROID_SECURITY_PLAN.md to project

This commit is contained in:
2026-11-03 07:16:33 +02:00
parent 640fca8a70
commit af224beda4
13 changed files with 631 additions and 26 deletions
+2 -1
View File
@@ -35,7 +35,7 @@ function registerMailIpcHandlers(dependencies) {
mailOutbox,
pgpMail,
PgpError,
simpleParser,
getMailparser,
folderPath,
sendMailNow,
pgpFailure
@@ -270,6 +270,7 @@ registerIpcHandler('mail:update-message', async (_event, input) => {
// Encrypted messages keep their attachments inside the encrypted payload.
async function parseForAttachments(source) {
const { simpleParser } = await getMailparser();
const parsed = await simpleParser(source);
const kind = pgpMail.detect(parsed);
if (kind !== 'encrypted-mime' && kind !== 'encrypted-inline') return parsed;