Fix some chapter and mute not skipping from popup

This commit is contained in:
Ajay 2022-07-04 01:21:36 -04:00
parent 561b3a2263
commit 8114e0dcf7

View file

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