aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.ts')
-rw-r--r--src/content.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/content.ts b/src/content.ts
index 1cfd8669..4da2a2b7 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -776,17 +776,6 @@ async function sponsorsLookup(id: string, keepOldSubmissions = true) {
sponsorDataFound = true;
- // Check if any old submissions should be kept
- if (sponsorTimes !== null && keepOldSubmissions) {
- for (let i = 0; i < sponsorTimes.length; i++) {
- if (sponsorTimes[i].source === SponsorSourceType.Local) {
- // This is a user submission, keep it
- recievedSegments.push(sponsorTimes[i]);
- }
- }
- }
-
- const oldSegments = sponsorTimes || [];
sponsorTimes = recievedSegments;
if (sponsorTimes) {