forked from mystiq/hydrogen-web
fix typo that broke the txn
This commit is contained in:
parent
514d1d9579
commit
830c300102
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ export class GapWriter {
|
||||||
// e.g. order is moving away from the `from` point.
|
// e.g. order is moving away from the `from` point.
|
||||||
let key = startKey;
|
let key = startKey;
|
||||||
for (let i = 0; i < events.length; ++i) {
|
for (let i = 0; i < events.length; ++i) {
|
||||||
const event = events[0];
|
const event = events[i];
|
||||||
key = key.nextKeyForDirection(direction);
|
key = key.nextKeyForDirection(direction);
|
||||||
const eventStorageEntry = createEventEntry(key, this._roomId, event);
|
const eventStorageEntry = createEventEntry(key, this._roomId, event);
|
||||||
const memberEvent = this._findMemberEvent(event.sender, state, events, i, direction);
|
const memberEvent = this._findMemberEvent(event.sender, state, events, i, direction);
|
||||||
|
|
Loading…
Reference in a new issue