element-hq / element-hq/hydrogen-web

Redaction gets stuck in pending events if unsynced target gets synced as redacted already

Open
#399 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
714
Forks
131
PR merge metrics
No merged PRs in 30d

Description

If a redaction is applied to an event on the server that we haven't synced yet (e.g. because of gap), and when it does come down sync we only receive the redacted version, and the redaction is not synced at all. The redaction remote echo is never received in this case and the redaction is never removed from the pending events. We need to look at the redacted_because value as well while looking for remote echos.

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.