element-hq / element-hq/element-web

Search in upgraded encrypted rooms doesn't search pre-upgrade history

Open
#32,258 4 comments 2 reactions 0 assignees View on GitHub
A-E2EE A-Electron A-Search O-Occasional S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Create a private encrypted room (version 6)
2. Send message `foo`
3. Upgrade the room (version 9)
4. Search for `foo` in the new room (version 9)
5. Search for `foo` in the old room (version 6)

### What did you expect?

Search results across upgraded rooms.

### What happened?

Searches in (4) and (5) do not show any results:

![image](https://user-images.githubusercontent.com/6731714/135164727-66a333d7-aae9-45a7-8c72-370d3faeca63.png)

Sometimes however (4) and/or (5) do show some search results.

### Operating system

Windows

### Application version

Element version: 1.9.0 Olm version: 3.2.3

### How did you install the app?

https://element.io/get-started

### Homeserver

phys.ethz.ch

### Have you submitted a rageshake?

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.