mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:03:13 +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
|