mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 09:24:15 +08:00
d5066336ec
We consider that you should always receive a notification sound when someone speaks directly with you in chat. This commit also refactors the way we play audio in chat to make it simpler and throttle it to 3 seconds. We also added a safeguard to ensure we won't play sounds for old messages, this case can happen when message bus is catching up the backlog (eg: in an inactive tab for example). |
||
---|---|---|
.. | ||
chat-audio.js | ||
chat-decorators.js | ||
chat-keyboard-shortcuts.js | ||
chat-plugin-decorators.js | ||
chat-setup.js | ||
chat-sidebar.js | ||
chat-user-menu.js | ||
chat-user-options.js |