merge only one

This commit is contained in:
Michael C 2022-01-27 15:02:07 -05:00
parent 0451dcd975
commit 86e5ef7523
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

View file

@ -730,12 +730,6 @@ async function sponsorsLookup(id: string, keepOldSubmissions = true) {
segment.hidden = SponsorHideType.MinimumDuration;
}
}
for (let i = 0; i < sponsorTimes.length; i++) {
const duration = sponsorTimes[i].segment[1] - sponsorTimes[i].segment[0] ;
if (duration > 0 && duration < Config.config.minDuration) {
sponsorTimes[i].hidden = SponsorHideType.MinimumDuration;
}
}
}
if (keepOldSubmissions) {