mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
persona's revenge
This commit is contained in:
parent
4508ad11f2
commit
c313590d36
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue