Fix shadow hidden requiring type 1

This commit is contained in:
Ajay
2023-01-29 13:15:05 -05:00
parent cb7492628c
commit f8f02d86d5
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ async function prepareCategorySegments(req: Request, videoID: VideoID, service:
//check if shadowHidden
//this means it is hidden to everyone but the original ip that submitted it
if (segment.shadowHidden != Visibility.HIDDEN) {
if (segment.shadowHidden === Visibility.VISIBLE) {
return true;
}