Merge branch 'develop' into activation-meta
authorMark Felder <feld@FreeBSD.org>
Tue, 30 Jun 2020 20:09:03 +0000 (15:09 -0500)
committerMark Felder <feld@FreeBSD.org>
Tue, 30 Jun 2020 20:09:03 +0000 (15:09 -0500)
lib/pleroma/web/mastodon_api/views/instance_view.ex

index 35c2fc25cf06314defc2a101d204aecf2391b27c..118678962ba6febfa8835f085b57fead29e4aa45 100644 (file)
@@ -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()
         },