From 9bd3723f06b40d2dc3a7d77cd7b439271df6e1d9 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 3 May 2018 12:32:33 +0200 Subject: [PATCH] Revert "Do not override timestamps for incoming toots" (#7330) * Revert "Weblate translations 20180503 (#7325)" This reverts commit b84b11c41a71aaeae02ff93c44c57a592cbec33d. * Revert "Prevent timeline from moving when cursor is hovering over it (fixes #7278) (#7327)" This reverts commit 9188537f5f10f9b6960857cd1292ef5db8d5a411. * Revert "Add pry-byebug (#7307)" This reverts commit 7236e9effebd18f60d829347f7f1ec489c2d0a8c. * Revert "Do not override timestamps for incoming toots (#7326)" This reverts commit b6f4e83c93d536cae2bdf0ed7ab37f4c4e51ee1e. --- app/workers/activitypub/processing_worker.rb | 2 +- app/workers/processing_worker.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/workers/activitypub/processing_worker.rb b/app/workers/activitypub/processing_worker.rb index bb9adf64bd..0e2e0edddb 100644 --- a/app/workers/activitypub/processing_worker.rb +++ b/app/workers/activitypub/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)) + ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id), override_timestamps: true) end end diff --git a/app/workers/processing_worker.rb b/app/workers/processing_worker.rb index 5df404bcc9..978c3aba26 100644 --- a/app/workers/processing_worker.rb +++ b/app/workers/processing_worker.rb @@ -6,6 +6,6 @@ class ProcessingWorker sidekiq_options backtrace: true def perform(account_id, body) - ProcessFeedService.new.call(body, Account.find(account_id)) + ProcessFeedService.new.call(body, Account.find(account_id), override_timestamps: true) end end