diff --git a/src/content.ts b/src/content.ts index c0cecbcd..b71162e5 100644 --- a/src/content.ts +++ b/src/content.ts @@ -215,10 +215,10 @@ function messageListener(request: Message, sender: unknown, sendResponse: (respo return true; case "unskip": - unskipSponsorTime(sponsorTimes.find((segment) => segment.UUID === request.UUID)); + unskipSponsorTime(sponsorTimes.find((segment) => segment.UUID === request.UUID), null, true); break; case "reskip": - reskipSponsorTime(sponsorTimes.find((segment) => segment.UUID === request.UUID)); + reskipSponsorTime(sponsorTimes.find((segment) => segment.UUID === request.UUID), true); break; case "submitVote": vote(request.type, request.UUID).then((response) => sendResponse(response));