Skip to content

Commit

Permalink
persona's revenge
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Sep 14, 2024
1 parent 4508ad1 commit c313590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/getSkipSegments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ async function prepareCategorySegments(req: Request, videoID: VideoID, service:
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
}

Expand Down

0 comments on commit c313590

Please sign in to comment.