mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-10 21:47:02 +03:00
persona's revenge
This commit is contained in:
@@ -24,7 +24,9 @@ async function prepareCategorySegments(req: Request, videoID: VideoID, service:
|
|||||||
return true; //required - always send
|
return true; //required - always send
|
||||||
}
|
}
|
||||||
|
|
||||||
if (segment.hidden || segment.votes < -1) {
|
if (segment.hidden
|
||||||
|
|| segment.votes < -1
|
||||||
|
|| segment.shadowHidden === Visibility.MORE_HIDDEN) {
|
||||||
return false; //too untrustworthy, just ignore it
|
return false; //too untrustworthy, just ignore it
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user