mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
parent
b378b4c5c7
commit
55c856c522
@ -123,7 +123,7 @@ class NotifyService < BaseService
|
|||||||
|
|
||||||
def send_email
|
def send_email
|
||||||
return if @notification.activity.nil?
|
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
|
end
|
||||||
|
|
||||||
def email_enabled?
|
def email_enabled?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user