mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: check config
This commit is contained in:
@@ -154,8 +154,8 @@ export function mergeOneBotConfigs(
|
|||||||
if (userConfig.enableLocalFile2Url !== undefined) {
|
if (userConfig.enableLocalFile2Url !== undefined) {
|
||||||
mergedConfig.enableLocalFile2Url = userConfig.enableLocalFile2Url;
|
mergedConfig.enableLocalFile2Url = userConfig.enableLocalFile2Url;
|
||||||
}
|
}
|
||||||
if (userConfig.enableLocalFile2Url !== undefined) {
|
if (userConfig.parseMultMsg !== undefined) {
|
||||||
mergedConfig.enableLocalFile2Url = true;
|
mergedConfig.parseMultMsg = userConfig.parseMultMsg;
|
||||||
}
|
}
|
||||||
return mergedConfig;
|
return mergedConfig;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user