diff options
Diffstat (limited to 'users/lib')
-rw-r--r-- | users/lib/webfinger/user_presenter.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/users/lib/webfinger/user_presenter.rb b/users/lib/webfinger/user_presenter.rb index 41153a8..329f477 100644 --- a/users/lib/webfinger/user_presenter.rb +++ b/users/lib/webfinger/user_presenter.rb @@ -10,7 +10,6 @@ class Webfinger::UserPresenter def to_json(options = {}) { subject: subject, - aliases: aliases, links: links }.to_json(options) end @@ -19,10 +18,6 @@ class Webfinger::UserPresenter "acct:#{@user.email_address}" end - def aliases - [ user_url(@user, :host => @request.host) ] - end - def links links = {} links[:public_key] = { type: 'PGP', href: key } if key |