Add "exposable_reactions" to features, if showing reactions

This commit is contained in:
marcin mikołajczak 2021-09-09 18:35:45 +00:00
parent 6b3842cf50
commit 555d7d57c9
1 changed files with 4 additions and 1 deletions

View File

@ -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