forked from AkkomaGang/akkoma
Web.TwitterAPI.UserView: Also view local user emojis
This commit is contained in:
parent
2f76a40d02
commit
85434669bb
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ defp do_render("user.json", %{user: user = %User{}} = assigns) do
|
|||
{String.trim(name, ":"), url}
|
||||
end)
|
||||
|
||||
emoji = Enum.dedup(emoji ++ user.info.emoji)
|
||||
|
||||
# ``fields`` is an array of mastodon profile field, containing ``{"name": "…", "value": "…"}``.
|
||||
# For example: [{"name": "Pronoun", "value": "she/her"}, …]
|
||||
fields =
|
||||
|
|
Loading…
Reference in a new issue