Don't go through all available emoji.

object carry their emoji information.
This commit is contained in:
lain 2018-03-28 09:56:32 +02:00
commit df8fc72491
3 changed files with 8 additions and 10 deletions

View file

@ -145,7 +145,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
content
end
html = HtmlSanitizeEx.basic_html(content) |> Formatter.emojify(object["emoji"])
html = HtmlSanitizeEx.basic_html(content)
|> Formatter.emojify(object["emoji"])
%{
"id" => activity.id,