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 232ae38 commit 40962f9Copy full SHA for 40962f9
packages/firestore/src/core/sync_engine_impl.ts
@@ -361,13 +361,13 @@ async function allocateTargetAndMaybeListen(
361
status === 'current',
362
targetData.resumeToken
363
);
364
+ }
365
- if (syncEngineImpl.isPrimaryClient && shouldListenToRemote) {
366
- remoteStoreListen(syncEngineImpl.remoteStore, targetData);
367
- }
368
-
369
- return viewSnapshot;
+ if (syncEngineImpl.isPrimaryClient && shouldListenToRemote) {
+ remoteStoreListen(syncEngineImpl.remoteStore, targetData);
370
}
+
+ return viewSnapshot;
371
372
373
/**
0 commit comments