added code\path fields without html tags in ets
This commit is contained in:
parent
cef2e980b1
commit
d7808b5db4
7 changed files with 93 additions and 74 deletions
|
|
@ -435,7 +435,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|
|||
|
||||
def emoji_from_profile(%{info: _info} = user) do
|
||||
(Formatter.get_emoji(user.bio) ++ Formatter.get_emoji(user.name))
|
||||
|> Enum.map(fn {shortcode, url, _} ->
|
||||
|> Enum.map(fn {shortcode, url, _, _, _} ->
|
||||
%{
|
||||
"type" => "Emoji",
|
||||
"icon" => %{"type" => "Image", "url" => "#{Endpoint.url()}#{url}"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue