From 7c421bb19809c4b0223d9e082d52d125fbe95f2a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 23 Jul 2019 10:44:48 +0200 Subject: Fix auto blacklist --- server/lib/video-blacklist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/video-blacklist.ts') diff --git a/server/lib/video-blacklist.ts b/server/lib/video-blacklist.ts index 9749ce2f6..1dd7139f7 100644 --- a/server/lib/video-blacklist.ts +++ b/server/lib/video-blacklist.ts @@ -56,7 +56,7 @@ async function autoBlacklistNeeded (parameters: { // Already blacklisted if (video.VideoBlacklist) return false if (!CONFIG.AUTO_BLACKLIST.VIDEOS.OF_USERS.ENABLED || !user) return false - if (isRemote || isNew) return false + if (isRemote || isNew === false) return false if (user.hasRight(UserRight.MANAGE_VIDEO_BLACKLIST) || user.hasAdminFlag(UserAdminFlag.BY_PASS_VIDEO_AUTO_BLACKLIST)) return false -- cgit v1.2.3