projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put custom guards in Web.Utils.Guards
[akkoma]
/
lib
/
pleroma
/
web
/
pleroma_api
/
views
/
emoji_reaction_view.ex
diff --git
a/lib/pleroma/web/pleroma_api/views/emoji_reaction_view.ex
b/lib/pleroma/web/pleroma_api/views/emoji_reaction_view.ex
index 809ef9b4065c85ed8cb74fe681eab5814784ceef..c94527e6d284929e0879483cdd3fa0409250e1fb 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/views/emoji_reaction_view.ex
+++ b/
lib/pleroma/web/pleroma_api/views/emoji_reaction_view.ex
@@
-26,7
+26,7
@@
defmodule Pleroma.Web.PleromaAPI.EmojiReactionView do
user_ap_ids
|> Enum.map(&Pleroma.User.get_cached_by_ap_id/1)
|> Enum.filter(fn
- %{
deactivated: fals
e} -> true
+ %{
is_active: tru
e} -> true
_ -> false
end)
end