two more federation fixes

This commit is contained in:
Rob Colbert
2019-07-14 03:03:29 -04:00
parent fd50f03304
commit 0a95b2df66
2 changed files with 4 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ class OStatus::Activity::Creation < OStatus::Activity::Base
end
def visibility_scope
@xml.at_xpath('./gabsocial:scope', gabsocial: OStatus::TagManager::MTDN_XMLNS)&.content&.to_sym || :public
@xml.at_xpath('./mastodon:scope', mastodon: OStatus::TagManager::MTDN_XMLNS)&.content&.to_sym || :public
end
def published