From f0ed4f64e8f39c4be1912bf537ceeac8ae3bea57 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 17 May 2024 17:47:35 +0200 Subject: [PATCH] RSS - Muted watches should not show in RSS feed (#2374 #2304) --- changedetectionio/flask_app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index fdd16294..13d3dfb6 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -338,8 +338,11 @@ def changedetection_app(config=None, datastore_o=None): # @todo needs a .itemsWithTag() or something - then we can use that in Jinaj2 and throw this away for uuid, watch in datastore.data['watching'].items(): + # @todo tag notification_muted skip also (improve Watch model) + if watch.get('notification_muted'): + continue if limit_tag and not limit_tag in watch['tags']: - continue + continue watch['uuid'] = uuid sorted_watches.append(watch)