Browse Source

Fixes avoids sending sub/changed only when changed

main
Eric Amodio 2 years ago
parent
commit
d10e76bb23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/plus/subscription/subscriptionService.ts

+ 4
- 1
src/plus/subscription/subscriptionService.ts View File

@ -889,7 +889,10 @@ export class SubscriptionService implements Disposable {
: {}), : {}),
}; };
this.container.telemetry.sendEvent(matches ? 'subscription' : 'subscription/changed', data);
this.container.telemetry.sendEvent(
previous == null || matches ? 'subscription' : 'subscription/changed',
data,
);
}); });
// If the previous and new subscriptions are exactly the same, kick out // If the previous and new subscriptions are exactly the same, kick out

Loading…
Cancel
Save