Web.TwitterAPI.UserView: Also view local user emojis
This commit is contained in:
parent
2f76a40d02
commit
85434669bb
@ -67,6 +67,8 @@ defmodule Pleroma.Web.TwitterAPI.UserView 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 New Issue
Block a user