element-hq / element-hq/element-web

Large message cannot be edited after being sent

Open
#23,728 0 comments 0 reactions 0 assignees View on GitHub
A-Composer O-Uncommon 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've composed and sent a relatively large message (11615 characters with Markdown formatting).
2. The message has been delivered successfully.
3. Any attempt to edit this message (remove characters, add characters, edit characters) results in an error below.

Screenshot 2022-11-08 at 13 20 05

The issue occurs both in Element Web and in Element Desktop App.

Pressing "Retry all" does not do anything, the error message remains on the screen as if no button was pressed. So I have to press "Delete All" for the error to disappear.

I could not reproduce the error on smaller messages.

### Outcome

#### What did you expect?

The message could be edited as all other normal messages.

#### What happened instead?

The message cannot be edited returning a cryptic error.

### Operating system

macOS

### Browser information

Firefox, Chrome, Brave, Element Desktop

### URL for webapp

_No response_

### Application version

_No response_

### Homeserver

Element.io

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