element-hq / element-hq/element-web

Displayname disambiguation in pills not working when one DM exists

Open
#26,251 0 comments 0 reactions 0 assignees View on GitHub
A-Disambiguation A-Pills O-Occasional S-Minor T-Defect X-Needs-Investigation
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:
![image](https://github.com/vector-im/element-web/assets/2803622/e5361758-a948-42fb-bce3-2c4e65207c92)

### 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.