mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Added option to download plain text only part by default
This commit is contained in:
@@ -2782,6 +2782,15 @@ public class MessageHelper {
|
||||
return protected_subject;
|
||||
}
|
||||
|
||||
Integer isPlainOnly(boolean download_plain) {
|
||||
Integer plain = isPlainOnly();
|
||||
if (plain == null)
|
||||
return null;
|
||||
if (download_plain && plain == 0x80)
|
||||
plain |= 1;
|
||||
return plain;
|
||||
}
|
||||
|
||||
Integer isPlainOnly() {
|
||||
int html = 0;
|
||||
int plain = 0;
|
||||
|
||||
Reference in New Issue
Block a user