mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-22 18:23:18 +00:00
Add button to load new replies in web UI (#35210)
This commit is contained in:
parent
cec26d58c8
commit
14a781fa24
18 changed files with 411 additions and 26 deletions
|
|
@ -7,6 +7,9 @@ class FetchReplyWorker
|
|||
sidekiq_options queue: 'pull', retry: 3
|
||||
|
||||
def perform(child_url, options = {})
|
||||
batch = WorkerBatch.new(options.delete('batch_id')) if options['batch_id']
|
||||
FetchRemoteStatusService.new.call(child_url, **options.symbolize_keys)
|
||||
ensure
|
||||
batch&.remove_job(jid)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue