diff options
author | ThibG <thib@sitedethib.com> | 2019-07-10 17:10:43 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-07-10 17:10:43 +0200 |
commit | d04c584159fdad36d7713718c4ba0b3b42cd27a9 (patch) | |
tree | fda661d3dbb070da986f1385b0d30df97cc30b82 /app/serializers | |
parent | 85eb418e1f9ae40ce5fbdc837a354444eec94655 (diff) |
Drop magic-public-key from webfinger replies as it's only used for OStatus (#11280)
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/webfinger_serializer.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/serializers/webfinger_serializer.rb b/app/serializers/webfinger_serializer.rb index 4220f697e..f4af21551 100644 --- a/app/serializers/webfinger_serializer.rb +++ b/app/serializers/webfinger_serializer.rb @@ -18,7 +18,6 @@ class WebfingerSerializer < ActiveModel::Serializer { rel: 'http://webfinger.net/rel/profile-page', type: 'text/html', href: short_account_url(object) }, { rel: 'http://schemas.google.com/g/2010#updates-from', type: 'application/atom+xml', href: account_url(object, format: 'atom') }, { rel: 'self', type: 'application/activity+json', href: account_url(object) }, - { rel: 'magic-public-key', href: "data:application/magic-public-key,#{object.magic_key}" }, { rel: 'http://ostatus.org/schema/1.0/subscribe', template: "#{authorize_interaction_url}?uri={uri}" }, ] end |