projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow reacting with remote emoji when they exist on the post (#200)
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
views
/
status_view.ex
diff --git
a/lib/pleroma/web/mastodon_api/views/status_view.ex
b/lib/pleroma/web/mastodon_api/views/status_view.ex
index d838c4673512b1b9d0ba082d3a0c936e5d4d4f6b..0d2571ab8eeb8dc2db98c7b754acac06e11ca8d8 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/status_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/status_view.ex
@@
-587,7
+587,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusView do
defp build_emoji_map(emoji, users, url, current_user) do
%{
- name:
emoji
,
+ name:
Pleroma.Web.PleromaAPI.EmojiReactionView.emoji_name(emoji, url)
,
count: length(users),
url: MediaProxy.url(url),
me: !!(current_user && current_user.ap_id in users),