element-hq / element-hq/element-web

Search field in the room does not take into account modified messages

Open
#32,127 2 comments 0 reactions 0 assignees View on GitHub
A-Electron A-Indexing A-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. I write a message "hello world"
2. I modify the message by "hello world - topic"
3. I make a search into the room by text "topic"
I have no results about "topics"

Also, the search field does not escape characters like ":", it throws an error "Index error: An invalid argument was passed: 'Query is invalid. SyntaxError'"

### Outcome

#### What did you expect?
Expect to get the message "hello world - **topic**" as a result

#### What happened instead?
I have no results about "topics"

### Operating system

Windows 11

### Application version

Version de Element : 1.11.51 Crypto version: Olm 3.2.15

### How did you install the app?

https://element.io/get-started

### Homeserver

_No response_

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