about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-21 09:56:01 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-21 09:56:01 +0100
commit29b12f9e0abb5031b368f2815d6408705e0498c6 (patch)
tree4f42aa5047e79dfb34de9bac2c7222178f75b6e2
parent38dd85daab8e8342ec608d24cf81254c0dfde95c (diff)
Call NotifyService about remote reblogs
-rw-r--r--app/services/process_feed_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index 4b2fe3799..8daafd444 100644
--- a/app/services/process_feed_service.rb
+++ b/app/services/process_feed_service.rb
@@ -60,6 +60,8 @@ class ProcessFeedService < BaseService
       end
 
       status.save!
+
+      NotifyService.new.call(status.reblog.account, status) if status.reblog?
       Rails.logger.debug "Queuing remote status #{status.id} (#{id}) for distribution"
       DistributionWorker.perform_async(status.id)
       status