mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 03:03:44 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
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
|