chore: format profile avatar fix files

This commit is contained in:
Evie Gauthier committed 2026-03-28 01:25:41 -04:00
1 parent 5865c4cc71
commit e7fd523759
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
default: patch
---
Fix profile data loading when MSC4440 bio data is absent or malformed, and recover avatar rendering after transient image load failures.
Fix profile data loading when MSC4440 bio data is absent or malformed, and recover avatar rendering after transient image load failures.
+4 -1
View File
@@ -61,7 +61,10 @@ const normalizeInfo = (info: any): UserProfile => {
displayName: info.displayname,
pronouns: info['io.fsky.nyx.pronouns'],
timezone: info['us.cloke.msc4175.tz'] || info['m.tz'],
bio: msc4440Bio?.['m.text']?.[0]?.body || info['moe.sable.app.bio'] || info['chat.commet.profile_bio'],
bio:
msc4440Bio?.['m.text']?.[0]?.body ||
info['moe.sable.app.bio'] ||
info['chat.commet.profile_bio'],
status: info['chat.commet.profile_status'],
bannerUrl: info['chat.commet.profile_banner'],
nameColor: info['moe.sable.app.name_color'],