about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-01 19:14:02 +0200
committerGitHub <noreply@github.com>2019-08-01 19:14:02 +0200
commit8b9d0a05337b6bcf57b51abf45e21d9474bf2684 (patch)
treecc43f34fe2c2a7f9cf05a6c479bb9d624770407b /app/serializers
parent706a48ee1f2075ffb35ad4ad9cfc2f23fffbffcb (diff)
Remove XML version of Webfinger and remove links to Atom feeds (#11460)
Fix #11453
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/webfinger_serializer.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/serializers/webfinger_serializer.rb b/app/serializers/webfinger_serializer.rb
index 008d0c182..c67363b8f 100644
--- a/app/serializers/webfinger_serializer.rb
+++ b/app/serializers/webfinger_serializer.rb
@@ -26,7 +26,6 @@ class WebfingerSerializer < ActiveModel::Serializer
     else
       [
         { 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: 'http://ostatus.org/schema/1.0/subscribe', template: "#{authorize_interaction_url}?uri={uri}" },
       ]