RSS - Muted watches should not show in RSS feed (#2374 #2304)

This commit is contained in:
dgtlmoon
2024-05-17 17:47:35 +02:00
committed by GitHub
parent add2c658b4
commit f0ed4f64e8
+4 -1
View File
@@ -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)