Fix auto blacklist

pull/1987/head
Chocobozzz 2019-07-23 10:44:48 +02:00 committed by Chocobozzz
parent 3e753302d8
commit 7c421bb198
1 changed files with 1 additions and 1 deletions

View File

@ -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