logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 396f036b132271ebb0a6a88d28672792528b3b9c
parent 0149ea453868b701d949a5cfee429dfd9d78bb65
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Wed,  2 Mar 2022 00:58:02 -0500

Allow update_credentials to update User.language

Diffstat:

Mlib/pleroma/web/mastodon_api/controllers/account_controller.ex1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/pleroma/web/mastodon_api/controllers/account_controller.ex b/lib/pleroma/web/mastodon_api/controllers/account_controller.ex @@ -221,6 +221,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountController do # Note: param name is indeed :discoverable (not an error) |> Maps.put_if_present(:is_discoverable, params[:discoverable]) |> Maps.put_if_present(:birthday, params[:birthday]) + |> Maps.put_if_present(:language, params[:language]) # What happens here: #