element-hq / element-hq/element-web

Searching for rooms whose names clash with your homeserver’s name doesn’t end well

Open
#22,887 0 comments 1 reaction 0 assignees View on GitHub
A-Search A-Spotlight-Search O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Work at Element
2. Search for a room called Element
3. Get flooded with results for users and room aliases with element.io as their homeserver
4. Have to dig deep to find rooms actually called Element, especially given also https://github.com/vector-im/element-web/issues/22886

### Outcome

#### What did you expect?

Perhaps ignore domains in mxids and roomids and room aliases? Or perhaps ignore them at least if they match your own user’s mxid?

#### What happened instead?

Death by results

![](https://user-images.githubusercontent.com/558581/179672633-6cb205b5-bb14-4b82-a8d1-e8d294c425af.png)

### Operating system

_No response_

### Application version

1.10.0

### How did you install the app?

_No response_

### Homeserver

_No response_

### Will you send logs?

Yes

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.