|
|
@ -136,7 +136,7 @@ public class EntityOperation {
|
|
|
|
|
|
|
|
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
|
|
|
boolean auto_important = prefs.getBoolean("auto_important", false);
|
|
|
|
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);
|
|
|
|
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_LOW_IMPORTANCE, false);
|
|
|
|
queue(context, message, KEYWORD, MessageHelper.FLAG_HIGH_IMPORTANCE, true);
|
|
|
|
queue(context, message, KEYWORD, MessageHelper.FLAG_HIGH_IMPORTANCE, true);
|
|
|
|