Merge branch 'mkljczk-develop-patch-64464' into 'develop'

Add "exposable_reactions" to features, if showing reactions

See merge request pleroma/pleroma!3523
This commit is contained in:
Alex Gleason 2021-12-19 18:51:41 +00:00
commit 50892a198d
1 changed files with 4 additions and 1 deletions

View File

@ -84,7 +84,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