discourse/plugins/chat/app/jobs
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
..
regular/chat FIX: correctly handle notifications for channels (#27178) 2024-05-24 19:59:24 +02:00
scheduled/chat DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00
service_job.rb DEV: Move chat service objects into core (#26506) 2024-04-04 10:57:41 -03:00