element-hq / element-hq/element-web

Clicking the quote-reply button on both of the last two messages in a private room without sending a reply crashes element.

Open
#26,308 2 comments 0 reactions 0 assignees View on GitHub
A-Composer A-Replies O-Occasional S-Major T-Defect Z-Soft-Crash
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Where are you starting? What can you see?
Clicking the quote-reply button on the 2nd to last, and then the last message, in a private room with two others crashes element. It seems to have no effect on the server, and I can chat again after refreshing element.
2. What do you click?
The quote-reply "<-" next to the 2nd to last message, then the same button on the last message.
3. More steps…
I've only reproduced this with certain pairs of messages, so I'll include some examples in this bug report. Sometimes it takes a few tries, but I got the crash 5 of my last 10 attempts, and not always on the last two messages.

### Outcome

#### What did you expect?
The non-crashing behavior is to just quote-reply to the message that I clicked the button on last.

#### What happened instead?
Element crashes and resumes as expected when I refresh it.

### Operating system

fedora

### Browser information

chromium 116.0.5845.179

### URL for webapp

Element version: 1.11.29 Olm version: 3.2.12

### Application version

Element version: 1.11.29 Olm version: 3.2.12

### Homeserver

Synapse 1.81.0

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