added code\path fields without html tags in ets

This commit is contained in:
Maksim Pechnikov 2019-08-29 06:22:18 +03:00
commit d7808b5db4
7 changed files with 93 additions and 74 deletions

View file

@ -331,7 +331,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
defp mastodonized_emoji do
Pleroma.Emoji.get_all()
|> Enum.map(fn {shortcode, relative_url, tags} ->
|> Enum.map(fn {shortcode, relative_url, tags, _, _} ->
url = to_string(URI.merge(Web.base_url(), relative_url))
%{