Fix useOtherUserColor crash when sender has an avatar MXC URL.
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user