Skip to content

Commit

Permalink
fix(news): fix some streams posting as updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Feb 23, 2021
1 parent 0cfa18e commit e902556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notifications/Notifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function buildNotifiableData(newData, platform, notified) {
tweets: newData.twitter
? newData.twitter.filter(t => t && !notified.includes(t.uniqueId))
: [],
updates: newData.news.filter(n => (n.update || !updtReg.test(n.message))
updates: newData.news.filter(n => (n.update || updtReg.test(n.message))
&& !n.stream && !notified.includes(n.id)),

/* Cycles data */
Expand Down

0 comments on commit e902556

Please sign in to comment.