diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-12-30 18:53:27 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-12-30 18:53:27 -0600 |
commit | 11d40e92b7ee4d855c02d24a485035fb622a138a (patch) | |
tree | 92b02fa7f663051e7753f4d973be5a7ae2dda9e7 /lib/pleroma/web/activity_pub | |
parent | cbce88007672dc810cb345bb9872a009cbdc93d8 (diff) | |
download | pleroma-11d40e92b7ee4d855c02d24a485035fb622a138a.tar.gz |
Render AKAs in Actor endpoints
Diffstat (limited to 'lib/pleroma/web/activity_pub')
-rw-r--r-- | lib/pleroma/web/activity_pub/views/user_view.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index 93c9f436c..241224b57 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -112,7 +112,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do "tag" => emoji_tags, # Note: key name is indeed "discoverable" (not an error) "discoverable" => user.is_discoverable, - "capabilities" => capabilities + "capabilities" => capabilities, + "alsoKnownAs" => user.also_known_as } |> Map.merge(maybe_make_image(&User.avatar_url/2, "icon", user)) |> Map.merge(maybe_make_image(&User.banner_url/2, "image", user)) |