mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
Move "global switchoff" code from plugin to core
This commit is contained in:
@@ -66,6 +66,14 @@ const Setting = new Schema(
|
||||
type: String,
|
||||
default: 'Expired',
|
||||
},
|
||||
globalSwitchoffEnable: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
globalSwitchoffMessage: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
wordlist: {
|
||||
banned: {
|
||||
type: Array,
|
||||
|
||||
Reference in New Issue
Block a user