discourse/plugins/chat/spec/jobs/regular/chat
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
..
auto_join_channel_batch_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
auto_join_channel_memberships_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
channel_archive_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
channel_delete_spec.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
delete_user_messages_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
kick_users_from_channel_spec.rb
notify_mentioned_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
notify_watching_spec.rb FIX: correctly handle notifications for channels (#27178) 2024-05-24 19:59:24 +02:00
process_message_spec.rb DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
send_message_notifications_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
update_channel_user_count_spec.rb