Call NotifyService about remote reblogs
This commit is contained in:
parent
38dd85daab
commit
29b12f9e0a
|
@ -60,6 +60,8 @@ class ProcessFeedService < BaseService
|
||||||
end
|
end
|
||||||
|
|
||||||
status.save!
|
status.save!
|
||||||
|
|
||||||
|
NotifyService.new.call(status.reblog.account, status) if status.reblog?
|
||||||
Rails.logger.debug "Queuing remote status #{status.id} (#{id}) for distribution"
|
Rails.logger.debug "Queuing remote status #{status.id} (#{id}) for distribution"
|
||||||
DistributionWorker.perform_async(status.id)
|
DistributionWorker.perform_async(status.id)
|
||||||
status
|
status
|
||||||
|
|
Loading…
Reference in New Issue