From: Alex Gleason Date: Fri, 29 May 2020 20:16:44 +0000 (-0500) Subject: Add `account_activation_required` to /api/v1/instance X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=954acdda2072cac343409b3d17d831b86ac6a18c;p=akkoma Add `account_activation_required` to /api/v1/instance --- 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() },