discourse/plugins/chat/test/javascripts
Joffrey JAFFEUX 0260415664
FIX: correctly handle notifications for channels (#27178)
Prior to this fix we had too logic to detect if a user is active or not:

- idle codepath on the frontend
- online user ids on the backend

The frontend solution is not very reliable, and both solution are just trying to be too smart. Making a lot of people questioning why they receive a notification sometimes and sometimes not. This commit removes all this logic and replaces it with a much more simpler logic:

- you can't receive notifications for channel you are actually watching
- we won't play a sound more than once every 3seconds
2024-05-24 19:59:24 +02:00
..
acceptance DEV: Make category object more Ember friendly (#26342) 2024-04-03 17:34:28 +03:00
components DEV: allows for multiple menus/tooltips (#26823) 2024-05-07 23:48:44 +02:00
helpers FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
integration/components/user-menu DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
unit FIX: correctly handle notifications for channels (#27178) 2024-05-24 19:59:24 +02:00
chat-fixtures.js DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00