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 committed by Haelwenn (lanodan) Monnier
parent bee3d6d0cb
commit e2832da2ce

View file

@ -83,7 +83,10 @@ def features 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