features: features(),
federation: federation(),
fields_limits: fields_limits(),
- post_formats: Config.get([:instance, :allowed_post_formats])
+ post_formats: Config.get([:instance, :allowed_post_formats]),
+ privileged_staff: Config.get([:instance, :privileged_staff])
},
stats: %{mau: Pleroma.User.active_user_count()},
vapid_public_key: Keyword.get(Pleroma.Web.Push.vapid_config(), :public_key)
if Config.get([:media_proxy, :enabled]) do
"media_proxy"
end,
- if Config.get([:gopher, :enabled]) do
- "gopher"
- end,
# backwards compat
if Config.get([:shout, :enabled]) do
"chat"
end,
if Config.get([:instance, :profile_directory]) do
"profile_directory"
- end
+ end,
+ "custom_emoji_reactions"
]
|> Enum.filter(& &1)
end