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 @@ defmodule Pleroma.Web.TwitterAPI.UserView do
|
||||||
{String.trim(name, ":"), url}
|
{String.trim(name, ":"), url}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
emoji = Enum.dedup(emoji ++ user.info.emoji)
|
||||||
|
|
||||||
# ``fields`` is an array of mastodon profile field, containing ``{"name": "…", "value": "…"}``.
|
# ``fields`` is an array of mastodon profile field, containing ``{"name": "…", "value": "…"}``.
|
||||||
# For example: [{"name": "Pronoun", "value": "she/her"}, …]
|
# For example: [{"name": "Pronoun", "value": "she/her"}, …]
|
||||||
fields =
|
fields =
|
||||||
|
|
Loading…
Reference in a new issue