diff --git a/crates/matrix-sdk-indexeddb/changelog.d/6782.fixed.md b/crates/matrix-sdk-indexeddb/changelog.d/6782.fixed.md new file mode 100644 index 000000000..05b9e9274 --- /dev/null +++ b/crates/matrix-sdk-indexeddb/changelog.d/6782.fixed.md @@ -0,0 +1,5 @@ +Ensure that `IndexeddbEventCacheStore` properly pushes and removes events from a chunk. +Prior to these changes, pushing an event could erroneously replace an existing event, but +now it only replaces an existing event if it is being promoted from out-of-band to in-band. +Additionally, removing an event now properly shifts the indices of subsequent events in +the chunk.