aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes
diff options
context:
space:
mode:
authorwinter2025-02-14 22:47:05 +0000
committerwinter2025-02-14 22:47:05 +0000
commit65dfe7aff06dfd3b044a5deb47b03d643c651ec1 (patch)
treed86894a978336edaeb269a25944c1ed2dacc80e3 /routes
parent5af36fccc0904cf743e3d598813d246e3fa52634 (diff)
add pronouns to profiles and notes
Diffstat (limited to 'routes')
-rw-r--r--routes/actor_profile_fragment.php1
1 files changed, 1 insertions, 0 deletions
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'])) {