diff options
author | eal <eal@waifu.club> | 2018-08-13 16:21:18 +0300 |
---|---|---|
committer | eal <eal@waifu.club> | 2018-08-13 16:21:18 +0300 |
commit | 92caa2632ba559961ebceccc9c0b44fbb8af05ed (patch) | |
tree | 3bd2827e8d6d62bc3e81072d9ac09a229ad3aeee /lib | |
parent | 1ed1ff17a4281cdbd7743e12759143dcb6534db7 (diff) | |
download | pleroma-92caa2632ba559961ebceccc9c0b44fbb8af05ed.tar.gz |
Use Image type for emoji icons.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/common_api/utils.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index f6960bf41..7bab0e4ff 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -203,7 +203,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do |> Enum.map(fn {shortcode, url} -> %{ "type" => "Emoji", - "icon" => %{"url" => "#{Endpoint.url()}#{url}"}, + "icon" => %{"type" => "Image", "url" => "#{Endpoint.url()}#{url}"}, "name" => ":#{shortcode}:" } end) |