mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Hide submissions that are at -1 votes
This commit is contained in:
@@ -432,7 +432,7 @@ async function updateDataIfVideoDurationChange(videoID: VideoID, service: string
|
||||
FROM "sponsorTimes"
|
||||
WHERE "videoID" = ? AND "service" = ? AND
|
||||
"hidden" = 0 AND "shadowHidden" = 0 AND
|
||||
"votes" >= 0 AND "videoDuration" != 0`,
|
||||
"votes" > -2 AND "videoDuration" != 0`,
|
||||
[videoID, service]
|
||||
) as {videoDuration: VideoDuration, UUID: SegmentUUID}[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user