Skip to content

Commit

Permalink
Avoids sending sub/changed if it really hasn't
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Nov 17, 2022
1 parent aaf687e commit c76bb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plus/subscription/subscriptionService.ts
Expand Up @@ -889,7 +889,7 @@ export class SubscriptionService implements Disposable {
: {}),
};

this.container.telemetry.sendEvent(previous == null ? 'subscription' : 'subscription/changed', data);
this.container.telemetry.sendEvent(matches ? 'subscription' : 'subscription/changed', data);
});

// If the previous and new subscriptions are exactly the same, kick out
Expand Down

0 comments on commit c76bb65

Please sign in to comment.