forked from mystiq/hydrogen-web
ensure updateEntries is always set in the result of GapWriter
This commit is contained in:
parent
c934049523
commit
b55efb7f11
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ export class GapWriter {
|
|||
if (chunk.length === 0) {
|
||||
fragmentEntry.edgeReached = true;
|
||||
await txn.timelineFragments.update(fragmentEntry.fragment);
|
||||
return {entries: [fragmentEntry], fragments: []};
|
||||
return {entries: [fragmentEntry], updatedEntries: [], fragments: []};
|
||||
}
|
||||
|
||||
// find last event in fragment so we get the eventIndex to begin creating keys at
|
||||
|
|
Loading…
Reference in a new issue