commit: 97d5aba1ecdd27725e345c34fbadb763aa7155e8
parent: 0f5bbb999c9770654613cb373070984dd785e855
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Thu, 24 Mar 2016 13:25:33 +0100
Do not try to send notification e-mails for reblogs if the reblog is not of a
local account
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
@@ -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