Fix displayname calculation around RTL / unhomoglyth. (#2953)

This commit is contained in:
Will Hunt
2025-01-16 17:26:58 +00:00
committed by GitHub
parent 723fa290ff
commit 3189bdba2a
4 changed files with 24 additions and 15 deletions

View File

@@ -56,6 +56,6 @@ export const bobZeroWidthSpaceId = `${bobZeroWidthSpace.userId}:${bobZeroWidthSp
export const daveRTLRtcMember = mockRtcMembership("@dave2:example.org", "DDDD");
export const daveRTL = mockMatrixRoomMember(daveRTLRtcMember, {
rawDisplayName: "\u200fevaD",
rawDisplayName: "\u202eevaD",
});
export const daveRTLId = `${daveRTL.userId}:${daveRTLRtcMember.deviceId}`;