From 29b12f9e0abb5031b368f2815d6408705e0498c6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 21 Nov 2016 09:56:01 +0100 Subject: [PATCH] Call NotifyService about remote reblogs --- app/services/process_feed_service.rb | 2 ++ 1 file changed, 2 insertions(+) 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