mirror of https://github.com/M66B/FairEmail.git
Skip summarizing hidden messages
This commit is contained in:
parent
f54e0b75e0
commit
3dda425671
|
@ -1566,6 +1566,9 @@ public class EntityRule {
|
|||
private boolean onActionSummarize(Context context, EntityMessage message, JSONObject jargs) throws JSONException, IOException {
|
||||
DB db = DB.getInstance(context);
|
||||
|
||||
if (message.ui_hide)
|
||||
return false;
|
||||
|
||||
if (!this.async && this.id != null) {
|
||||
EntityOperation.queue(context, message, EntityOperation.RULE, this.id);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue