File tree 1 file changed +3
-4
lines changed
packages/replay-internal/src/util
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,12 @@ export function getHandleRecordingEmit(replay: ReplayContainer): RecordingEmitCa
65
65
// In order to handle buffer mode, this needs to either be done when we
66
66
// receive checkout events or at flush time. We have an experimental mode
67
67
// to perform multiple checkouts a session (the idea is to improve
68
- // seeking during playback), so also only include if segmentId is 0.
68
+ // seeking during playback), so also only include if segmentId is 0
69
+ // (handled in `addSettingsEvent`).
69
70
//
70
71
// `isCheckout` is always true, but want to be explicit that it should
71
72
// only be added for checkouts
72
- if ( session && session . segmentId === 0 ) {
73
- addSettingsEvent ( replay , isCheckout ) ;
74
- }
73
+ addSettingsEvent ( replay , isCheckout ) ;
75
74
76
75
// If there is a previousSessionId after a full snapshot occurs, then
77
76
// the replay session was started due to session expiration. The new session
You can’t perform that action at this time.
0 commit comments