discourse/plugins/chat/test/javascripts/unit/services
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
..
chat-channel-info-route-origin-manager-test.js DEV: Fix typos in a chat service tests (#26239) 2024-03-19 12:07:19 +01:00
chat-drafts-manager-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-drawer-size-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-emoji-picker-manager-test.js DEV: Fix various typos (#24461) 2023-11-20 16:49:49 +01:00
chat-guardian-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-state-manager-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00