mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 02:20:45 +08:00
14 lines
258 B
Ruby
14 lines
258 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Jobs
|
|
class EmailChatNotifications < ::Jobs::Scheduled
|
|
every 5.minutes
|
|
|
|
def execute(args = {})
|
|
return unless SiteSetting.chat_enabled
|
|
|
|
Chat::ChatMailer.send_unread_mentions_summary
|
|
end
|
|
end
|
|
end
|