Commit 64116f63 authored by feld's avatar feld
Browse files

URI.encode custom emojis

parent 20a269ed
Pipeline #33928 passed with stages
in 5 minutes and 39 seconds
......@@ -919,7 +919,7 @@ def add_emoji_tags(object), do: object
defp build_emoji_tag({name, url}) do
%{
"icon" => %{"url" => url, "type" => "Image"},
"icon" => %{"url" => "#{URI.encode(url)}", "type" => "Image"},
"name" => ":" <> name <> ":",
"type" => "Emoji",
"updated" => "1970-01-01T00:00:00Z",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment