Fix auto blacklist
This commit is contained in:
parent
3e753302d8
commit
7c421bb198
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue