We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5ce34 commit 29c0b37Copy full SHA for 29c0b37
packages/firestore/src/local/local_store.ts
@@ -501,10 +501,9 @@ export class LocalStore {
501
const resumeToken = change.resumeToken;
502
// Update the resume token if the change includes one.
503
if (resumeToken.length > 0) {
504
- const newQueryData = oldQueryData.withResumeToken(
505
- resumeToken,
506
- remoteVersion
507
- );
+ const newQueryData = oldQueryData
+ .withResumeToken(resumeToken, remoteVersion)
+ .withSequenceNumber(txn.currentSequenceNumber);
508
this.queryDataByTarget[targetId] = newQueryData;
509
510
// Update the query data if there are target changes (or if
0 commit comments