mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-27 10:30:15 -05:00
Do not try to send notification e-mails for reblogs if the reblog is not of a
local account
This commit is contained in:
parent
0f5bbb999c
commit
97d5aba1ec
@ -76,7 +76,7 @@ class ProcessFeedService < BaseService
|
|||||||
|
|
||||||
if !status.reblog.nil?
|
if !status.reblog.nil?
|
||||||
status.save!
|
status.save!
|
||||||
NotificationMailer.reblog(status.reblog, status.account).deliver_later
|
NotificationMailer.reblog(status.reblog, status.account).deliver_later if status.reblog.local?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user