Skip to content

Commit

Permalink
fix SR isUserEvent for idleness checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tdumitrescu committed Jul 26, 2024
1 parent 319b2b1 commit c3c6445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recorder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var ACTIVE_SOURCES = new Set([
]);

function isUserEvent(ev) {
return ev.type === EventType.IncrementalSnapshot && ACTIVE_SOURCES.has(ev.source);
return ev.type === EventType.IncrementalSnapshot && ACTIVE_SOURCES.has(ev.data.source);
}

var MixpanelRecorder = function(mixpanelInstance) {
Expand Down

0 comments on commit c3c6445

Please sign in to comment.