mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Fix first-event reconnect replay baseline
Signed-off-by: John Tennant <jtennant@squareup.com>
This commit is contained in:
committed by
John Tennant
parent
ed87750b40
commit
145e051fff
@@ -624,6 +624,9 @@ export class RelayClient {
|
||||
filter,
|
||||
onEvent,
|
||||
replayMissedHistory: options?.replayMissedHistory,
|
||||
lastSeenCreatedAt: options?.replayMissedHistory
|
||||
? Math.floor(Date.now() / 1_000)
|
||||
: undefined,
|
||||
resolveReady,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user