diff options
author | scarlett <nia@netbsd.org> | 2019-01-05 17:35:39 +0000 |
---|---|---|
committer | scarlett <nia@netbsd.org> | 2019-01-05 17:35:39 +0000 |
commit | 3c86d907d4d298b8a54d5292ff85107a1ada3bd5 (patch) | |
tree | e2b4febe93205e8bb3d2b9332e7829a124afb44b /lib | |
parent | 0787f0dfbe8daad53617217617fbc8784e45898f (diff) | |
download | pleroma-3c86d907d4d298b8a54d5292ff85107a1ada3bd5.tar.gz |
add some brakets to the emoji list.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index a20b854df..bb3c38f00 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -124,7 +124,7 @@ defmodule Pleroma.Web.CommonAPI do Map.put( object, "emoji", - Formatter.get_emoji(status) ++ Formatter.get_emoji(data["spoiler_text"]) + (Formatter.get_emoji(status) ++ Formatter.get_emoji(data["spoiler_text"])) |> Enum.reduce(%{}, fn {name, file}, acc -> Map.put(acc, name, "#{Pleroma.Web.Endpoint.static_url()}#{file}") end) |