From cca3b4622fa7fd807d6555c86538963b7bb83f60 Mon Sep 17 00:00:00 2001 From: Small Brain Date: Sun, 13 Aug 2023 02:03:39 -0700 Subject: [PATCH] feat(network): don't filter historical ephemeral events (#1233) --- packages/network/src/workers/SyncWorker.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/network/src/workers/SyncWorker.ts b/packages/network/src/workers/SyncWorker.ts index 82cd1cb79e..ed1b271cd8 100644 --- a/packages/network/src/workers/SyncWorker.ts +++ b/packages/network/src/workers/SyncWorker.ts @@ -245,10 +245,7 @@ export class SyncWorker implements DoWork !e.ephemeral) - ); + storeEvents(initialState, [...gapStateEvents, ...initialLiveEvents]); cacheStore.current = initialState; devObservables.cacheStore$.next(cacheStore.current); debug(`initial sync state size: ${cacheStore.current.state.size}`);