diff --git a/src/utils/segmentData.ts b/src/utils/segmentData.ts index c79562c3..69820c08 100644 --- a/src/utils/segmentData.ts +++ b/src/utils/segmentData.ts @@ -50,7 +50,7 @@ async function fetchSegmentsForVideo(videoID: VideoID): Promise if (hashParams.requiredSegment) extraRequestData.requiredSegment = hashParams.requiredSegment; const hashPrefix = (await getHash(videoID, 1)).slice(0, 5) as VideoID & HashedValue; - const hasDownvotedSegments = !!Config.local.downvotedSegments[hashPrefix]; + const hasDownvotedSegments = !!Config.local.downvotedSegments[hashPrefix.slice(0, 4)]; const response = await asyncRequestToServer('GET', "/api/skipSegments/" + hashPrefix, { categories: CompileConfig.categoryList, actionTypes: ActionTypes,