Autocomplete @mention makes a bad choice
Steps to reproduce
In the composer, I want to get Arthur's attention, so I type @ ar then tab. Instead of picking Arthur, the autocomplete picks Amandine. Neither Amandine's full mxid nor her display name include the substring "ar" in it anywhere, so it's an odd choice.
You don't have to type quickly, if you just type @ar you'll get a dropdown with Amandine at the top.
This happens in any room that has both Arthur and Amandine in it.
Outcome
What did you expect?
Arthur
What happened instead?
Amandine
Operating system
mac
Browser information
Firefox 145.0.1 (aarch64)
URL for webapp
develop.element.io
Application version
Element version: 0a46edaaff7e-js-c7a75c882479 Crypto version: Rust SDK 0.14.0 (c3b7918), Vodozemac 0.9.0
Homeserver
lant.uk
Will you send logs?
No
This is the doing of unhomoglyph which treats m the same as rn as in a lot of fonts they are hard to distinguish