Browse Source

Do not override timestamps for incoming toots (#7326)

master
ThibG 6 years ago
committed by Eugen Rochko
parent
commit
bd36791832
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/workers/activitypub/processing_worker.rb
  2. +1
    -1
      app/workers/processing_worker.rb

+ 1
- 1
app/workers/activitypub/processing_worker.rb 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

+ 1
- 1
app/workers/processing_worker.rb 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

Loading…
Cancel
Save