mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
fix typo that broke the txn
This commit is contained in:
parent
514d1d9579
commit
830c300102
@ -105,7 +105,7 @@ export class GapWriter {
|
||||
// e.g. order is moving away from the `from` point.
|
||||
let key = startKey;
|
||||
for (let i = 0; i < events.length; ++i) {
|
||||
const event = events[0];
|
||||
const event = events[i];
|
||||
key = key.nextKeyForDirection(direction);
|
||||
const eventStorageEntry = createEventEntry(key, this._roomId, event);
|
||||
const memberEvent = this._findMemberEvent(event.sender, state, events, i, direction);
|
||||
|
Loading…
Reference in New Issue
Block a user