+# 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
privacy: user_info.default_scope,
sensitive: false
},
+
# Pleroma extension
- tags: user.tags
+ pleroma: %{
+ confirmation_pending: user_info.confirmation_pending,
+ tags: user.tags
+ }
}
end