diff options
| author | Alex Gleason <alex@alexgleason.me> | 2020-05-29 15:16:44 -0500 | 
|---|---|---|
| committer | Alex Gleason <alex@alexgleason.me> | 2020-05-31 11:36:49 -0500 | 
| commit | 954acdda2072cac343409b3d17d831b86ac6a18c (patch) | |
| tree | c4ac78df4a5635261bb5cc97d428da7fda8fa5fe | |
| parent | 660d49227b951185d9218b787de70cc14f217417 (diff) | |
| download | pleroma-954acdda2072cac343409b3d17d831b86ac6a18c.tar.gz pleroma-954acdda2072cac343409b3d17d831b86ac6a18c.zip | |
Add `account_activation_required` to /api/v1/instance
| -rw-r--r-- | lib/pleroma/web/mastodon_api/views/instance_view.ex | 1 | 
1 files changed, 1 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 6a630eafa..bb7bd2a9f 100644 --- a/lib/pleroma/web/mastodon_api/views/instance_view.ex +++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex @@ -36,6 +36,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do        background_image: Keyword.get(instance, :background_image),        pleroma: %{          metadata: %{ +          account_activation_required: Keyword.get(instance, :account_activation_required),            features: features(),            federation: federation()          }, | 
