Introduce OStatus::TagManager (#5008)
This commit is contained in:
parent
df1ce2350c
commit
bb4d005a83
31 changed files with 308 additions and 297 deletions
|
@ -27,7 +27,7 @@ class FetchRemoteStatusService < BaseService
|
|||
xml = Nokogiri::XML(body)
|
||||
xml.encoding = 'utf-8'
|
||||
|
||||
account = author_from_xml(xml.at_xpath('/xmlns:entry', xmlns: TagManager::XMLNS))
|
||||
account = author_from_xml(xml.at_xpath('/xmlns:entry', xmlns: OStatus::TagManager::XMLNS))
|
||||
domain = Addressable::URI.parse(url).normalized_host
|
||||
|
||||
return nil unless !account.nil? && confirmed_domain?(domain, account)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue