Don't go through all available emoji.
object carry their emoji information.
This commit is contained in:
parent
e30752bc79
commit
df8fc72491
3 changed files with 8 additions and 10 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue