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 @@ def features do
"safe_dm_mentions" "safe_dm_mentions"
end, end,
"pleroma_emoji_reactions", "pleroma_emoji_reactions",
"pleroma_chat_messages" "pleroma_chat_messages",
if Config.get([:instance, :show_reactions]) do
"exposable_reactions"
end
] ]
|> Enum.filter(& &1) |> Enum.filter(& &1)
end end