Sfoglia il codice sorgente

Fixes avoids sending sub/changed only when changed

main
Eric Amodio 2 anni fa
parent
commit
d10e76bb23
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      src/plus/subscription/subscriptionService.ts

+ 4
- 1
src/plus/subscription/subscriptionService.ts Vedi 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

Caricamento…
Annulla
Salva