mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-01-19 02:36:05 +01:00
Add "exposable_reactions" to features, if showing reactions
This commit is contained in:
parent
6b3842cf50
commit
555d7d57c9
1 changed files with 4 additions and 1 deletions
|
@ -83,7 +83,10 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
|||
"safe_dm_mentions"
|
||||
end,
|
||||
"pleroma_emoji_reactions",
|
||||
"pleroma_chat_messages"
|
||||
"pleroma_chat_messages",
|
||||
if Config.get([:instance, :show_reactions]) do
|
||||
"exposable_reactions"
|
||||
end
|
||||
]
|
||||
|> Enum.filter(& &1)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue