diff options
Diffstat (limited to 'server/lib/notifier.ts')
-rw-r--r-- | server/lib/notifier.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/notifier.ts b/server/lib/notifier.ts index 9cdd603a3..501680f6b 100644 --- a/server/lib/notifier.ts +++ b/server/lib/notifier.ts | |||
@@ -439,7 +439,7 @@ class Notifier { | |||
439 | } | 439 | } |
440 | 440 | ||
441 | private isEmailEnabled (user: UserModel, value: UserNotificationSettingValue) { | 441 | private isEmailEnabled (user: UserModel, value: UserNotificationSettingValue) { |
442 | if (CONFIG.SIGNUP.REQUIRES_EMAIL_VERIFICATION === true && user.emailVerified !== true) return false | 442 | if (CONFIG.SIGNUP.REQUIRES_EMAIL_VERIFICATION === true && user.emailVerified === false) return false |
443 | 443 | ||
444 | return value & UserNotificationSettingValue.EMAIL | 444 | return value & UserNotificationSettingValue.EMAIL |
445 | } | 445 | } |