about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-24 13:25:33 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-24 13:25:33 +0100
commit97d5aba1ecdd27725e345c34fbadb763aa7155e8 (patch)
tree54a0e48511ce62b3c4239a11d788c72c8fe81cbc
parent0f5bbb999c9770654613cb373070984dd785e855 (diff)
Do not try to send notification e-mails for reblogs if the reblog is not of a
local account
-rw-r--r--app/services/process_feed_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index db69dfc6a..14ef83204 100644
--- 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