commit: 29b12f9e0abb5031b368f2815d6408705e0498c6
parent: 38dd85daab8e8342ec608d24cf81254c0dfde95c
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Mon, 21 Nov 2016 09:56:01 +0100
Call NotifyService about remote reblogs
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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