mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
Refactoring
This commit is contained in:
@@ -137,12 +137,14 @@ public class MessageHelper {
|
||||
|
||||
static final String FLAG_FORWARDED = "$Forwarded";
|
||||
static final String FLAG_NOT_JUNK = "$NotJunk";
|
||||
static final String FLAG_CLASSIFIED = "$Classified";
|
||||
|
||||
// https://www.iana.org/assignments/imap-jmap-keywords/imap-jmap-keywords.xhtml
|
||||
// Not black listed: Gmail $Phishing
|
||||
private static final List<String> FLAG_BLACKLIST = Collections.unmodifiableList(Arrays.asList(
|
||||
MessageHelper.FLAG_FORWARDED,
|
||||
MessageHelper.FLAG_NOT_JUNK,
|
||||
MessageHelper.FLAG_CLASSIFIED, // FairEmail
|
||||
"$MDNSent", // https://tools.ietf.org/html/rfc3503
|
||||
"$SubmitPending",
|
||||
"$Submitted",
|
||||
@@ -160,8 +162,7 @@ public class MessageHelper {
|
||||
"$signed", // Kmail
|
||||
"$encrypted", // Kmail
|
||||
"$HasAttachment", // Dovecot
|
||||
"$HasNoAttachment", // Dovecot
|
||||
"$Classified" // FairEmail
|
||||
"$HasNoAttachment" // Dovecot
|
||||
));
|
||||
|
||||
// https://tools.ietf.org/html/rfc4021
|
||||
|
||||
Reference in New Issue
Block a user