]> cat aescling's git repositories - mastodon.git/commit
Fix streaming notifications not using quick filter logic (#18316)
authorClaire <claire.github-309c@sitedethib.com>
Sat, 7 May 2022 02:50:40 +0000 (04:50 +0200)
committersingle-right-quote <11325618-aescling@users.noreply.gitlab.com>
Fri, 27 May 2022 03:32:56 +0000 (23:32 -0400)
commita23efee0195ba11311dfb78b9d4bffa1d9f87890
tree42e366076cffcfee712de731f3b2fc7d7b6d435e
parent7d4d924b8b845cb3be4fcf7257624a063d8304ef
Fix streaming notifications not using quick filter logic (#18316)

Fixes #18309

The quickFilter logic was used on display and to request new notification
pages, but not for live updates. The main issue this caused is bump the unread
notifications count regardless of the quickFilter setting.

Since notifications are re-fetched when changing quickFilter settings, it is
safe to drop live notifications that do not match the selected filter.
app/javascript/mastodon/actions/notifications.js