From 31071973b73fd545a7e2c9ae0119539c7bcc301a Mon Sep 17 00:00:00 2001 From: mkljczk Date: Tue, 6 May 2025 21:48:17 +0200 Subject: [PATCH 1/3] Fix typo in account_status function doc --- lib/pleroma/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index d9da9ede1..a5672fe4a 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -308,7 +308,7 @@ defmodule Pleroma.User do def binary_id(%User{} = user), do: binary_id(user.id) - @doc "Returns status account" + @doc "Returns account status" @spec account_status(User.t()) :: account_status() def account_status(%User{is_active: false}), do: :deactivated def account_status(%User{password_reset_pending: true}), do: :password_reset_pending From ccb5b81179395a65cceb38a27a53f8c8241d6d70 Mon Sep 17 00:00:00 2001 From: mkljczk Date: Tue, 6 May 2025 21:48:39 +0200 Subject: [PATCH 2/3] Update changelog --- changelog.d/doc-typo.skip | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 changelog.d/doc-typo.skip diff --git a/changelog.d/doc-typo.skip b/changelog.d/doc-typo.skip new file mode 100644 index 000000000..e69de29bb From 68a5c6011356457cd2639d1f4b4da6347f8b4f9f Mon Sep 17 00:00:00 2001 From: mkljczk Date: Thu, 8 May 2025 13:45:22 +0200 Subject: [PATCH 3/3] another doc update --- lib/pleroma/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index a5672fe4a..8fd8e164d 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -2615,7 +2615,7 @@ defmodule Pleroma.User do end end - # Internal function; public one is `deactivate/2` + # Internal function; public one is `set_activation/2` defp set_activation_status(user, status) do user |> cast(%{is_active: status}, [:is_active])