element-hq / element-hq/element-web
Displayname disambiguation in pills not working when one DM exists
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Share Room with `Alice (@alice:matrix.org)` and `Alice (@alice:element.io)`
2. Have DM with `Alice (@alice:matrix.org)`
3. In the room, mention both by user pill in a message
### Outcome
#### What did you expect?
Both pills have disambiguation
#### What happened instead?
(Coincidentally?) the pill of the user I have a DM with is not disambiguated:

### Operating system
Arch
### Browser information
Firefox 117
### URL for webapp
https://develop.element.io
### Application version
Element version: dcc0f9fbf682-react-8ac25758b3db-js-425cf6b91e9e Olm version: 3.2.14
### Homeserver
matrix.org
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.