Pārlūkot izejas kodu

Fixes avoids sending sub/changed only when changed

main
Eric Amodio pirms 2 gadiem
vecāks
revīzija
d10e76bb23
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      src/plus/subscription/subscriptionService.ts

+ 4
- 1
src/plus/subscription/subscriptionService.ts Parādīt failu

@ -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

Notiek ielāde…
Atcelt
Saglabāt