NeverDecaf / discord-PWA

A wrapper for the Discord web client as a PWA, made for Chromium browsers on desktop.
MIT License
145 stars 13 forks source link

Highlight isn't removed if messages are read elsewhere. #2

Open NeverDecaf opened 4 years ago

NeverDecaf commented 4 years ago

If the window is not in focus and is currently drawAttention()-ing and all messages are read elsewhere which would make unread 0, the highlight should be removed via clearAttention (or in this case, drawAttention: false). However, neither of these methods work due to a bug on Chromium's side that will likely never be fixed.

Speaking of bugs that will never be fixed here is another relevant one: https://bugs.chromium.org/p/chromium/issues/detail?id=387377