Process UID command option

This commit is contained in:
M66B
2022-01-28 15:31:46 +01:00
parent e819451416
commit 5a6ace9c4c
4 changed files with 13 additions and 4 deletions

View File

@@ -236,6 +236,10 @@ public class MessageHelper {
System.setProperty("mail.mime.contentdisposition.strict", "false"); // default true
//System.setProperty("mail.imap.parse.debug", "true");
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean uid_command = prefs.getBoolean("uid_command", false);
System.setProperty("fairemail.uid_command", Boolean.toString(uid_command));
}
static Properties getSessionProperties() {