mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 05:05:25 +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.