Add support for searching AP users (#4599)
* Add support for searching AP users * use JsonLdHelper
This commit is contained in:
parent
26d26644ac
commit
5f22c0189d
4 changed files with 30 additions and 11 deletions
|
@ -3,13 +3,12 @@
|
|||
class FetchRemoteAccountService < BaseService
|
||||
include AuthorExtractor
|
||||
|
||||
def call(url, prefetched_body = nil)
|
||||
def call(url, prefetched_body = nil, protocol = :ostatus)
|
||||
if prefetched_body.nil?
|
||||
resource_url, body, protocol = FetchAtomService.new.call(url)
|
||||
else
|
||||
resource_url = url
|
||||
body = prefetched_body
|
||||
protocol = :ostatus
|
||||
end
|
||||
|
||||
case protocol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue