Do not override timestamps for incoming toots (#7326)

This commit is contained in:
ThibG 2018-05-03 11:42:52 +02:00 committed by Eugen Rochko
parent 995d9e8485
commit b6f4e83c93
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,6 @@ class ActivityPub::ProcessingWorker
sidekiq_options backtrace: true sidekiq_options backtrace: true
def perform(account_id, body) 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
end end

View file

@ -6,6 +6,6 @@ class ProcessingWorker
sidekiq_options backtrace: true sidekiq_options backtrace: true
def perform(account_id, body) 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
end end