Do not override timestamps for incoming toots (#7326)

master
ThibG 6 years ago committed by Eugen Rochko
parent 28b366d065
commit bd36791832
  1. 2
      app/workers/activitypub/processing_worker.rb
  2. 2
      app/workers/processing_worker.rb

@ -6,6 +6,6 @@ class ActivityPub::ProcessingWorker
sidekiq_options backtrace: true
def perform(account_id, body)
ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id), override_timestamps: true)
ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id))
end
end

@ -6,6 +6,6 @@ class ProcessingWorker
sidekiq_options backtrace: true
def perform(account_id, body)
ProcessFeedService.new.call(body, Account.find(account_id), override_timestamps: true)
ProcessFeedService.new.call(body, Account.find(account_id))
end
end

Loading…
Cancel
Save