add license boilerplate to pleroma core
[akkoma] / lib / pleroma / web / mastodon_api / views / account_view.ex
index ebcf9230bc8959b5735cb5888a4f37c1c246dd9b..aaaae20358b0a9d17e75ca2e1d36a8213381b47c 100644 (file)
@@ -1,3 +1,7 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Pleroma.Web.MastodonAPI.AccountView do
   use Pleroma.Web, :view
   alias Pleroma.User
@@ -62,6 +66,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
 
       # Pleroma extension
       pleroma: %{
+        confirmation_pending: user_info.confirmation_pending,
         tags: user.tags
       }
     }