element-hq / element-hq/element-x-ios

Edits slowly flip back and forth between edited & original state.

Open
#3,831 1 comment 0 reactions 0 assignees View on GitHub
O-Occasional S-Major T-Defect X-Needs-Rust
Dominant language
Swift
Stars
945
Forks
372
Avg merge
21h 42m
Merged PRs (30d)
67

Description

### Steps to reproduce

1. Send a message
2. Edit it (perhaps while it's still sending)
3. Watch as you get a nice local echo for the edit
4. Then, a few seconds later, it suddenly reverts to the unedited state (presumably the original remote echo arriving?)
5. Then, a few seconds later, it eventually reverts back to the edited state (presumably the edited remote echo arriving):

https://github.com/user-attachments/assets/eaa64e91-ff93-41f0-a25f-1dd9612aeee4

### Outcome

#### What did you expect?

Edits shouldn't flap around.

#### What happened instead?

Since build 847 this seems to happen more frequently - roughly 50% of the time, and it's much slower as it flaps.

See also https://github.com/element-hq/element-x-ios/issues/2252 which may or may not have been the same issue.

### Your phone model

_No response_

### Operating system version

_No response_

### Application version

847

### Homeserver

_No response_

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