瀏覽代碼

Fixes avoids sending sub/changed only when changed

main
Eric Amodio 2 年之前
父節點
當前提交
d10e76bb23
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      src/plus/subscription/subscriptionService.ts

+ 4
- 1
src/plus/subscription/subscriptionService.ts 查看文件

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

Loading…
取消
儲存