Disabled ID command by default

master
M66B 5 days ago
parent 9d9aa3b8d0
commit 27971a2a08

@ -4977,7 +4977,7 @@ class Core {
if (mdn && helper.isReport())
try {
MessageHelper.Report r = parts.getReport(context);
boolean client_id = prefs.getBoolean("client_id", true);
boolean client_id = prefs.getBoolean("client_id", false);
String we = "dns;" + (client_id ? EmailService.getDefaultEhlo() : "example.com");
if (r != null && !we.equals(r.reporter)) {
String label = null;

@ -914,7 +914,7 @@ public class EmailService implements AutoCloseable {
if (istore.hasCapability("ID"))
try {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean client_id = prefs.getBoolean("client_id", true);
boolean client_id = prefs.getBoolean("client_id", false);
Map<String, String> sid = istore.id(client_id ? getId(context) : null);
if (sid != null) {
Map<String, String> crumb = new HashMap<>();

@ -705,7 +705,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
swAutoLock.setChecked(prefs.getBoolean("autolock", true));
swAutoLockNav.setChecked(prefs.getBoolean("autolock_nav", false));
swClientId.setChecked(prefs.getBoolean("client_id", true));
swClientId.setChecked(prefs.getBoolean("client_id", false));
swHideTimeZone.setChecked(prefs.getBoolean("hide_timezone", false));
swDisplayHidden.setChecked(prefs.getBoolean("display_hidden", false));
swIncognitoKeyboard.setChecked(prefs.getBoolean("incognito_keyboard", false));

@ -943,7 +943,7 @@ public class MessageHelper {
report.addBodyPart(plainPart);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean client_id = prefs.getBoolean("client_id", true);
boolean client_id = prefs.getBoolean("client_id", false);
String from = null;
if (message.from != null && message.from.length > 0)
@ -988,7 +988,7 @@ public class MessageHelper {
report.addBodyPart(plainPart);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean client_id = prefs.getBoolean("client_id", true);
boolean client_id = prefs.getBoolean("client_id", false);
String from = null;
if (message.from != null && message.from.length > 0)

Loading…
Cancel
Save