Skip to content

Commit f0ed4f6

Browse files
authored
RSS - Muted watches should not show in RSS feed (#2374 #2304)
1 parent add2c65 commit f0ed4f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

changedetectionio/flask_app.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,11 @@ def rss():
338338

339339
# @todo needs a .itemsWithTag() or something - then we can use that in Jinaj2 and throw this away
340340
for uuid, watch in datastore.data['watching'].items():
341+
# @todo tag notification_muted skip also (improve Watch model)
342+
if watch.get('notification_muted'):
343+
continue
341344
if limit_tag and not limit_tag in watch['tags']:
342-
continue
345+
continue
343346
watch['uuid'] = uuid
344347
sorted_watches.append(watch)
345348

0 commit comments

Comments
 (0)