Skip setting important / rule flag

This commit is contained in:
M66B
2022-09-22 20:09:11 +02:00
parent f1b94d35cf
commit 0198d43484
2 changed files with 2 additions and 2 deletions

View File

@@ -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);