Fix useOtherUserColor crash when sender has an avatar MXC URL.
All checks were successful
Build / increment-version (push) Successful in 5s
Build / build-android (push) Successful in 6m42s

Pass the Matrix room to useOtherUserColor in overlay Message.tsx instead of
senderAvatarMxc, and bump cinny for Android About/updates fixes.
This commit is contained in:
2026-08-23 16:18:54 +10:00
parent e817b4e608
commit 2fa800e4d6

View File

@@ -785,7 +785,7 @@ export const Message = as<'div', MessageProps>(
const senderAvatarMxc = getMemberAvatarMxc(room, senderId);
// Get custom user color from avatar metadata (takes priority)
const customUserColor = useOtherUserColor(senderId, senderAvatarMxc);
const customUserColor = useOtherUserColor(senderId, room);
const tagColor = memberPowerTag?.color
? accessibleTagColors?.get(memberPowerTag.color)