mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Skip setting important / rule flag
This commit is contained in:
@@ -136,7 +136,7 @@ public class EntityOperation {
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean auto_important = prefs.getBoolean("auto_important", false);
|
||||
if (auto_important) {
|
||||
if (auto_important && jargs.optBoolean(2, true)) {
|
||||
db.message().setMessageImportance(message.id, flagged ? EntityMessage.PRIORITIY_HIGH : null);
|
||||
queue(context, message, KEYWORD, MessageHelper.FLAG_LOW_IMPORTANCE, false);
|
||||
queue(context, message, KEYWORD, MessageHelper.FLAG_HIGH_IMPORTANCE, true);
|
||||
|
||||
Reference in New Issue
Block a user