Split some settings into new "messages" section
Most email dependant sections now depend on this. Also renamed more email things.
This commit is contained in:
+1
-2
@@ -72,8 +72,7 @@ func (app *appContext) checkUsers() {
|
||||
termPlural = "Deleting"
|
||||
}
|
||||
contact := false
|
||||
if (emailEnabled && app.config.Section("user_expiry").Key("send_email").MustBool(true)) ||
|
||||
app.config.Section("telegram").Key("enabled").MustBool(false) {
|
||||
if messagesEnabled && app.config.Section("user_expiry").Key("send_email").MustBool(true) {
|
||||
contact = true
|
||||
}
|
||||
// Use a map to speed up checking for deleted users later
|
||||
|
||||
Reference in New Issue
Block a user