mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-25 09:40:05 +08:00
fix: check config
This commit is contained in:
parent
7158f25f37
commit
3c09ff13d0
@ -154,8 +154,8 @@ export function mergeOneBotConfigs(
|
||||
if (userConfig.enableLocalFile2Url !== undefined) {
|
||||
mergedConfig.enableLocalFile2Url = userConfig.enableLocalFile2Url;
|
||||
}
|
||||
if (userConfig.enableLocalFile2Url !== undefined) {
|
||||
mergedConfig.enableLocalFile2Url = true;
|
||||
if (userConfig.parseMultMsg !== undefined) {
|
||||
mergedConfig.parseMultMsg = userConfig.parseMultMsg;
|
||||
}
|
||||
return mergedConfig;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user