Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix emailer

Chocobozzz887e1a037619
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts
index d0874ab209..26262972d4 100644
--- a/server/lib/emailer.ts
+++ b/server/lib/emailer.ts
@@ -40,7 +40,7 @@ class Emailer {
if (this.initialized === true) return
this.initialized = true
- if (isEmailEnabled) {
+ if (isEmailEnabled()) {
logger.info('Using %s:%s as SMTP server.', CONFIG.SMTP.HOSTNAME, CONFIG.SMTP.PORT)
let tls