Update features.py

This commit is contained in:
admin 2026-10-04 03:34:38 +00:00
parent 00465485f1
commit 52e0a53c91

View File

@ -591,6 +591,7 @@ def profile_payload(
"status": status_payload["status"], "status": status_payload["status"],
"created_at": user_row["created_at"], "created_at": user_row["created_at"],
"display_name": profile_row["display_name"] if profile_row["display_name"] else user_row["username"], "display_name": profile_row["display_name"] if profile_row["display_name"] else user_row["username"],
"badge_text": (profile_row["badge_text"] or "").strip() if "badge_text" in profile_row.keys() else "",
"bio": bio, "bio": bio,
"bio_mode": bio_mode, "bio_mode": bio_mode,
"bio_html": safe_profile_bio_html(html_module, bio, bio_mode), "bio_html": safe_profile_bio_html(html_module, bio, bio_mode),