From: Alex Gleason Date: Tue, 14 Jul 2020 23:48:17 +0000 (-0500) Subject: Add :approval_pending to User @type account_status X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=df3d1bf5e57389e41a70676ccab1df81d83e3d74;p=akkoma Add :approval_pending to User @type account_status --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 439c2c9b6..9c3b46ae8 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -42,7 +42,12 @@ defmodule Pleroma.User do require Logger @type t :: %__MODULE__{} - @type account_status :: :active | :deactivated | :password_reset_pending | :confirmation_pending + @type account_status :: + :active + | :deactivated + | :password_reset_pending + | :confirmation_pending + | :approval_pending @primary_key {:id, FlakeId.Ecto.CompatType, autogenerate: true} # credo:disable-for-next-line Credo.Check.Readability.MaxLineLength