1317: Exclude events in Recsys submission.

This commit is contained in:
infinite-persistence 2022-05-10 17:07:18 +08:00 committed by Thomas Zarebczan
parent 72b0977817
commit cc666a265a

View file

@ -136,7 +136,8 @@ const recsys = {
IS_WEB || (window && window.store && selectDaemonSettings(window.store.getState()).share_usage_data);
if (recsys.entries[claimId] && shareTelemetry) {
const data = JSON.stringify(recsys.entries[claimId]);
const { events, ...entryData } = recsys.entries[claimId];
const data = JSON.stringify(entryData);
if (!isTentative) {
delete recsys.entries[claimId];