Skip to content

Commit eee0bad

Browse files
committed
Remove deletion
1 parent 28647b6 commit eee0bad

File tree

1 file changed

+2
-3
lines changed
  • crates/matrix-sdk-indexeddb/src/event_cache_store

1 file changed

+2
-3
lines changed

crates/matrix-sdk-indexeddb/src/event_cache_store/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,8 @@ impl_event_cache_store!({
279279

280280
let object_store = tx.object_store(keys::EVENTS)?;
281281

282-
let event = object_store
283-
.get_key(&JsValue::from_str(&format!("{}-{}", chunk_id, index)))?
284-
.await?;
282+
// We need to remove ALL the items >= index
283+
// But since we are on no sql, we can't do a range query
285284
}
286285
Update::StartReattachItems => {}
287286
Update::EndReattachItems => {}

0 commit comments

Comments
 (0)