Skip to content
Snippets Groups Projects
Verified Commit 85434669 authored by Haelwenn's avatar Haelwenn
Browse files

Web.TwitterAPI.UserView: Also view local user emojis

parent 2f76a40d
No related branches found
No related tags found
No related merge requests found
......@@ -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 =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment