about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-10 17:10:43 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-10 17:10:43 +0200
commitd04c584159fdad36d7713718c4ba0b3b42cd27a9 (patch)
treefda661d3dbb070da986f1385b0d30df97cc30b82 /app/views
parent85eb418e1f9ae40ce5fbdc837a354444eec94655 (diff)
Drop magic-public-key from webfinger replies as it's only used for OStatus (#11280)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/well_known/webfinger/show.xml.ruby5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/well_known/webfinger/show.xml.ruby b/app/views/well_known/webfinger/show.xml.ruby
index c82cdb7b3..ae80df9d2 100644
--- a/app/views/well_known/webfinger/show.xml.ruby
+++ b/app/views/well_known/webfinger/show.xml.ruby
@@ -26,11 +26,6 @@ doc << Ox::Element.new('XRD').tap do |xrd|
   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}"
   end