From 65dfe7aff06dfd3b044a5deb47b03d643c651ec1 Mon Sep 17 00:00:00 2001 From: winter Date: Fri, 14 Feb 2025 22:47:05 +0000 Subject: add pronouns to profiles and notes --- routes/actor_profile_fragment.php | 1 + 1 file changed, 1 insertion(+) (limited to 'routes/actor_profile_fragment.php') diff --git a/routes/actor_profile_fragment.php b/routes/actor_profile_fragment.php index 45f4487..f2d0004 100644 --- a/routes/actor_profile_fragment.php +++ b/routes/actor_profile_fragment.php @@ -69,6 +69,7 @@ Router::getInstance()->mount('/fragment/profile', function (array $args) { if (strlen($actor->displayName) <= 0) { $actor->displayName = $actor->handle; } + $actor->pronouns = trim($_POST['pronouns'] ?? '') ?: null; $actor->bio = trim($_POST['bio'] ?? ''); if (isset($_FILES['avatar'])) { -- cgit v1.3