mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-19 05:37:42 +00:00
d5fa4fbcd2
* Revert "Weblate translations 20180503 (#7325)" This reverts commitdfa6bccb64
. * Revert "Prevent timeline from moving when cursor is hovering over it (fixes #7278) (#7327)" This reverts commit58852695c8
. * Revert "Add pry-byebug (#7307)" This reverts commitab773e4d5f
. * Revert "Do not override timestamps for incoming toots (#7326)" This reverts commitbd36791832
.
12 lines
281 B
Ruby
12 lines
281 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ActivityPub::ProcessingWorker
|
|
include Sidekiq::Worker
|
|
|
|
sidekiq_options backtrace: true
|
|
|
|
def perform(account_id, body)
|
|
ActivityPub::ProcessCollectionService.new.call(body, Account.find(account_id), override_timestamps: true)
|
|
end
|
|
end
|