Skip summarizing hidden messages

pull/215/head
M66B 7 months ago
parent f54e0b75e0
commit 3dda425671

@ -1566,6 +1566,9 @@ public class EntityRule {
private boolean onActionSummarize(Context context, EntityMessage message, JSONObject jargs) throws JSONException, IOException { private boolean onActionSummarize(Context context, EntityMessage message, JSONObject jargs) throws JSONException, IOException {
DB db = DB.getInstance(context); DB db = DB.getInstance(context);
if (message.ui_hide)
return false;
if (!this.async && this.id != null) { if (!this.async && this.id != null) {
EntityOperation.queue(context, message, EntityOperation.RULE, this.id); EntityOperation.queue(context, message, EntityOperation.RULE, this.id);
return true; return true;

Loading…
Cancel
Save