Filter more message flags/keywords/tags

This commit is contained in:
the-djmaze 2022-06-10 01:06:17 +02:00
parent 5a47893cd2
commit 8cf8502485
2 changed files with 24 additions and 5 deletions

View file

@ -36,23 +36,37 @@ const
},
ignoredTags = [
// rfc5788
'$forwarded',
'$mdnsent',
'$readreceipt',
'$submitpending',
'$submitted',
// rfc9051
'$junk',
'$notjunk',
'$phishing',
// Mailo
'sent',
// KMail
'$attachment',
'$encrypted',
'$error',
'$ignored',
'$invitation',
'$queued',
'$replied',
'$sent',
'$signed',
'$error',
'$queued',
'$todo',
'$watched',
// GMail
'$replied',
'$attachment',
'$notphishing',
'$phishing',
'junk',
'nonjunk'
'nonjunk',
// Others
'$readreceipt'
],
toggleTag = (message, keyword) => {