Explorar el Código

Fixes avoids sending sub/changed only when changed

main
Eric Amodio hace 2 años
padre
commit
d10e76bb23
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      src/plus/subscription/subscriptionService.ts

+ 4
- 1
src/plus/subscription/subscriptionService.ts Ver fichero

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

Cargando…
Cancelar
Guardar