gearheads
/
mastodon
Archived
2
0
Fork 0

Call NotifyService about remote reblogs

gh/stable
Eugen Rochko 2016-11-21 09:56:01 +01:00
parent 38dd85daab
commit 29b12f9e0a
1 changed files with 2 additions and 0 deletions

View File

@ -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