diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-05-02 14:36:04 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-05-02 14:36:04 +0200 |
commit | 16f8406eb60562b961536ecfabecde8e15160aa6 (patch) | |
tree | 9b08656b1a79ac6c56310f59ea7dc14b49fa4a87 /lib/pleroma/web/twitter_api | |
parent | 32a95d73daf94a1186ccdbcdc9ce0f91b559119c (diff) | |
download | pleroma-16f8406eb60562b961536ecfabecde8e15160aa6.tar.gz |
Add statusnet_profile_url to the TwAPI.
Diffstat (limited to 'lib/pleroma/web/twitter_api')
-rw-r--r-- | lib/pleroma/web/twitter_api/representers/user_representer.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/twitter_api/representers/user_representer.ex b/lib/pleroma/web/twitter_api/representers/user_representer.ex index 29c7451f4..493077413 100644 --- a/lib/pleroma/web/twitter_api/representers/user_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/user_representer.ex @@ -28,7 +28,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.UserRepresenter do "profile_image_url_https" => image, "profile_image_url_profile_size" => image, "profile_image_url_original" => image, - "rights" => %{} + "rights" => %{}, + "statusnet_profile_url" => user.ap_id } map |