mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 18:16:29 +08:00
0260415664
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 |
||
---|---|---|
.. | ||
auto_join_channel_batch_spec.rb | ||
auto_join_channel_memberships_spec.rb | ||
channel_archive_spec.rb | ||
channel_delete_spec.rb | ||
delete_user_messages_spec.rb | ||
kick_users_from_channel_spec.rb | ||
notify_mentioned_spec.rb | ||
notify_watching_spec.rb | ||
process_message_spec.rb | ||
send_message_notifications_spec.rb | ||
update_channel_user_count_spec.rb |