mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-18 14:18:19 -04:00
There seems to be a race condition where the `RoomSendQueueUpdate::SentEvent` update arrives after the remote echo has already been processed which leads to the latest event value getting stuck at `LocalHasBeenSent`. This fixes the issue by trying to retrieve the event from the cache first. - [x] I've documented the public API Changes in the appropriate `CHANGELOG.md` files. - [x] I've read [the `CONTRIBUTING.md` file](https://github.com/matrix-org/matrix-rust-sdk/blob/main/CONTRIBUTING.md), notably the sections about Pull requests, Commit message format, and AI policy. - [ ] This PR was made with the help of AI. --------- Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>