projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0787f0d
)
add some brakets to the emoji list.
author
scarlett
<nia@netbsd.org>
Sat, 5 Jan 2019 17:35:39 +0000
(17:35 +0000)
committer
scarlett
<nia@netbsd.org>
Sat, 5 Jan 2019 17:35:39 +0000
(17:35 +0000)
lib/pleroma/web/common_api/common_api.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/common_api/common_api.ex
b/lib/pleroma/web/common_api/common_api.ex
index a20b854df71da09b1c8135e71cc49651818a8b6b..bb3c38f006f0715b8801cc79640c5b3a22c1a954 100644
(file)
--- 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)