Drop magic-public-key from webfinger replies as it's only used for OStatus (#11280)
This commit is contained in:
		
							parent
							
								
									85eb418e1f
								
							
						
					
					
						commit
						d04c584159
					
				
					 2 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -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']      = 'magic-public-key'
 | 
			
		||||
    link['href']     = "data:application/magic-public-key,#{@account.magic_key}"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  xrd << Ox::Element.new('Link').tap do |link|
 | 
			
		||||
    link['rel']      = 'http://ostatus.org/schema/1.0/subscribe'
 | 
			
		||||
    link['template'] = "#{authorize_interaction_url}?acct={uri}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue