element-hq / element-hq/element-android

Can't search for user ids including homeserver adress "internal server error"

Open
#7,911 5 comments 0 reactions 0 assignees View on GitHub
A-DMs A-Search O-Frequent S-Major T-Defect X-Cannot-Reproduce
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1° go to this button on all chats screen
![Screenshot_20230108-154746_Element](https://user-images.githubusercontent.com/99212613/211214092-3ff0d1a0-c8d9-4bb3-b103-7acc3cf26574.png)

2° click on "start chat"

3° search for any user id includint the homeserver ex: @name:homeserver (the homeserver doesn't need to be right or completed, the moment any letter is inputted after the ":" the error happens

### Outcome

#### What did you expect?
I expected it to show me users that had a corresponding @ and homeserver the same way the searches without homeserver inputted do
![Screenshot_20230108-100112_Element](https://user-images.githubusercontent.com/99212613/211214258-f6403595-f2fc-443c-a345-e153f74b2462.png)

#### What happened instead?
It gave me an error saying "internal server error"
![Screenshot_20230108-100132_Element~2](https://user-images.githubusercontent.com/99212613/211214303-d00fe9ac-1eca-4210-80bc-afa80ac9885c.png)

### Your phone model

Redmi note 9

### Operating system version

android 13 (lineage os 20)

### Application version and app store

tried on both F-droid 1.5.8 and play store 1.5.11 [40105112] (G-40bfffae) (currently I'm on play store version)

### Homeserver

tried on two of them chat.tchncs.de (synapse 1.74.0) and chat.mistli.net (synapse 1.74.0rc0 if I'm not mistaken)

### Will you send logs?

Yes

### Are you willing to provide a PR?

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.