federation fix

This commit is contained in:
Rob Colbert 2019-07-14 03:22:03 -04:00
parent 37be893d12
commit c804d6d438

View File

@ -30,7 +30,7 @@ class RemoteProfile
end
def scope
@scope ||= author.at_xpath('./gabsocial:scope', gabsocial: OStatus::TagManager::MTDN_XMLNS)&.content
@scope ||= author.at_xpath('./mastodon:scope', mastodon: OStatus::TagManager::MTDN_XMLNS)&.content
end
def avatar