From c313590d36f4b88b8df155c94c795cd69660b06c Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 13 Sep 2024 21:51:06 -0400 Subject: [PATCH] persona's revenge --- src/routes/getSkipSegments.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/routes/getSkipSegments.ts b/src/routes/getSkipSegments.ts index 570a562..098813e 100644 --- a/src/routes/getSkipSegments.ts +++ b/src/routes/getSkipSegments.ts @@ -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 }