diff options
author | NEETzsche <neetzsche@tutanota.com> | 2022-01-14 23:08:33 +0000 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2022-01-14 23:08:33 +0000 |
commit | 628435302561fc59873095a05ed268c8906bba3c (patch) | |
tree | 601ce317f26f9d34248631ce5b06188a1d6ec5b7 | |
parent | 8b5a658991e6ee3adf22d32c5e56dae5ff6aa0d1 (diff) | |
download | pleroma-628435302561fc59873095a05ed268c8906bba3c.tar.gz |
Add blockers_visible to features list when it's enabled
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/instance_view.ex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex index 8e657ee0f..cbed5fba9 100644 --- a/lib/pleroma/web/mastodon_api/views/instance_view.ex +++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex @@ -65,6 +65,9 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do "shareable_emoji_packs", "multifetch", "pleroma:api/v1/notifications:include_types_filter", + if Config.get([:activitypub, :blockers_visible]) do + "blockers_visible" + end, if Config.get([:media_proxy, :enabled]) do "media_proxy" end, |