]> cat aescling's git repositories - mastodon.git/commitdiff
Do not override timestamps for incoming toots (#7326)
authorThibG <thib@sitedethib.com>
Thu, 3 May 2018 09:42:52 +0000 (11:42 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 3 May 2018 09:42:52 +0000 (11:42 +0200)
app/workers/activitypub/processing_worker.rb
app/workers/processing_worker.rb

index 0e2e0edddba98b56db5ab48e7056e5e147d672ab..bb9adf64bde9cccb11c293900b68d7acf1a5eb8e 100644 (file)
@@ -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
index 978c3aba26f2d0238fe0266868ca91ff6fc84d54..5df404bcc9b7bb3e653bbfb20d22482b9457c398 100644 (file)
@@ -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