mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
ensure updateEntries is always set in the result of GapWriter
This commit is contained in:
parent
c934049523
commit
b55efb7f11
@ -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 New Issue
Block a user