mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 17:58:43 +08:00

This change delays the notify watching job to allow time for message to be marked as seen within chat. Without a slight delay the job fires straight away and often means that messages are seen on screen but the user also receives a notification due to Chat::Notifier.user_has_seen_message? returning false.