mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 09:08:24 +00:00
parent
b378b4c5c7
commit
55c856c522
|
@ -123,7 +123,7 @@ class NotifyService < BaseService
|
|||
|
||||
def send_email
|
||||
return if @notification.activity.nil?
|
||||
NotificationMailer.public_send(@notification.type, @recipient, @notification).deliver_later
|
||||
NotificationMailer.public_send(@notification.type, @recipient, @notification).deliver_later(wait: 2.minutes)
|
||||
end
|
||||
|
||||
def email_enabled?
|
||||
|
|
Loading…
Reference in a new issue