element-hq / element-hq/element-web

"You can't see earlier messages" suddenly (dis-)appears after writing messages

Open
#23,093 1 comment 0 reactions 0 assignees View on GitHub
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. Join https://matrix.to/#/#megolm:matrix.org \(like 3 weeks ago\)
2. Be able to read most messages \(some not due to UTD, probably not the issue of my Element as others also couldn't read those messages\)
3. Write 2 messages
4. See "You can't see earlier messages" and now only be able to read messages from yesterday and today
5. Write another message again
6. Message history reappears again

### Outcome

#### What did you expect?

As I was before, except for some messages, I expect to be able to read the history at all times.

#### What happened instead?

First after writing two messages, "You can't see earlier messages" appeared \(sadly don't have a screenshot\). After asking the others of the room if they have the same issue, the message history reappeared again correctly. Probably has something to do with those two consecutive "unable to decrypt" messages:
![image](https://user-images.githubusercontent.com/1645646/185064473-996d3b62-08ba-4f35-9750-4bd4e42d10de.png)

### Operating system

Debian GNU/Linux Testing/Unstable

### Application version

Element version: 1.11.2 Olm version: 3.2.12

### How did you install the app?

*No response*

### Homeserver

matrix.org

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