]> cat aescling's git repositories - mastodon.git/commitdiff
Revert "Do not override timestamps for incoming toots" (#7330)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 3 May 2018 10:32:33 +0000 (12:32 +0200)
committerGitHub <noreply@github.com>
Thu, 3 May 2018 10:32:33 +0000 (12:32 +0200)
* Revert "Weblate translations 20180503 (#7325)"

This reverts commit dfa6bccb64d9ee5512dddc10afd9a484db2dbb25.

* Revert "Prevent timeline from moving when cursor is hovering over it (fixes #7278) (#7327)"

This reverts commit 58852695c8ec490239ed3812f82971f8c1e6c172.

* Revert "Add pry-byebug (#7307)"

This reverts commit ab773e4d5ffdd78a61d3ebf0f79e60ee5c9f7e92.

* Revert "Do not override timestamps for incoming toots (#7326)"

This reverts commit bd367918328daedb37f49727f4e16e33679fdb15.

app/workers/activitypub/processing_worker.rb
app/workers/processing_worker.rb

index bb9adf64bde9cccb11c293900b68d7acf1a5eb8e..0e2e0edddba98b56db5ab48e7056e5e147d672ab 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))
+    ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id), override_timestamps: true)
   end
 end
index 5df404bcc9b7bb3e653bbfb20d22482b9457c398..978c3aba26f2d0238fe0266868ca91ff6fc84d54 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))
+    ProcessFeedService.new.call(body, Account.find(account_id), override_timestamps: true)
   end
 end