mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 10:16:45 +00:00
Skip setting important / rule flag
This commit is contained in:
parent
f1b94d35cf
commit
0198d43484
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -1050,7 +1050,7 @@ public class EntityRule {
|
|||
Integer color = (jargs.has("color") && !jargs.isNull("color")
|
||||
? jargs.getInt("color") : null);
|
||||
|
||||
EntityOperation.queue(context, message, EntityOperation.FLAG, true, color);
|
||||
EntityOperation.queue(context, message, EntityOperation.FLAG, true, color, false);
|
||||
|
||||
message.ui_flagged = true;
|
||||
message.color = color;
|
||||
|
|
Loading…
Reference in a new issue