Do not try to send notification e-mails for reblogs if the reblog is not of a

local account
pull/69/head
Eugen Rochko 2016-03-24 13:25:33 +01:00
parent 0f5bbb999c
commit 97d5aba1ec
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class ProcessFeedService < BaseService
if !status.reblog.nil?
status.save!
NotificationMailer.reblog(status.reblog, status.account).deliver_later
NotificationMailer.reblog(status.reblog, status.account).deliver_later if status.reblog.local?
end
end