Remove Salmon and PubSubHubbub (#11205)
* Remove Salmon and PubSubHubbub endpoints * Add error when trying to follow OStatus accounts * Fix new accounts not being created in ResolveAccountService
This commit is contained in:
@ -25,11 +25,6 @@ doc << Ox::Element.new('XRD').tap do |xrd|
|
||||
link['href'] = account_url(@account)
|
||||
end
|
||||
|
||||
xrd << Ox::Element.new('Link').tap do |link|
|
||||
link['rel'] = 'salmon'
|
||||
link['href'] = api_salmon_url(@account.id)
|
||||
end
|
||||
|
||||
xrd << Ox::Element.new('Link').tap do |link|
|
||||
link['rel'] = 'magic-public-key'
|
||||
link['href'] = "data:application/magic-public-key,#{@account.magic_key}"
|
||||
|
Reference in New Issue
Block a user