File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -338,8 +338,11 @@ def rss():
338
338
339
339
# @todo needs a .itemsWithTag() or something - then we can use that in Jinaj2 and throw this away
340
340
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
341
344
if limit_tag and not limit_tag in watch ['tags' ]:
342
- continue
345
+ continue
343
346
watch ['uuid' ] = uuid
344
347
sorted_watches .append (watch )
345
348
@@ -356,8 +359,8 @@ def rss():
356
359
# Re #521 - Don't bother processing this one if theres less than 2 snapshots, means we never had a change detected.
357
360
if len (dates ) < 2 :
358
361
continue
359
- # @todo tag notification_muted skip also (improve Watch model)
360
- if not watch .viewed and not watch . get ( 'notification_muted' ) :
362
+
363
+ if not watch .viewed :
361
364
# Re #239 - GUID needs to be individual for each event
362
365
# @todo In the future make this a configurable link back (see work on BASE_URL https://github.com/dgtlmoon/changedetection.io/pull/228)
363
366
guid = "{}/{}" .format (watch ['uuid' ], watch .last_changed )
You can’t perform that action at this time.
0 commit comments