Instantly upgrade account to ActivityPub if we receive ActivityPub payload (#4766)
parent
5d170587e3
commit
a187dcefa1
@ -0,0 +1,11 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
class ResolveRemoteAccountWorker
|
||||||
|
include Sidekiq::Worker
|
||||||
|
|
||||||
|
sidekiq_options queue: 'pull', unique: :until_executed
|
||||||
|
|
||||||
|
def perform(uri)
|
||||||
|
ResolveRemoteAccountService.new.call(uri)
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue