mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-04 05:37:22 +00:00
Fix displayname calculation around RTL / unhomoglyth. (#2953)
This commit is contained in:
@@ -886,7 +886,10 @@ test("should disambiguate users with invisible characters", () => {
|
||||
b: new Map([
|
||||
[carolId, carol.userId],
|
||||
[bobId, `Bob (${bob.userId})`],
|
||||
[bobZeroWidthSpaceId, `Bob (${bobZeroWidthSpace.userId})`],
|
||||
[
|
||||
bobZeroWidthSpaceId,
|
||||
`${bobZeroWidthSpace.rawDisplayName} (${bobZeroWidthSpace.userId})`,
|
||||
],
|
||||
]),
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user