Skip summarizing hidden messages

This commit is contained in:
M66B 2024-05-20 18:26:25 +02:00
parent f54e0b75e0
commit 3dda425671
1 changed files with 3 additions and 0 deletions

View File

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