fix: check config
This commit is contained in:
1 parent
d79dab91fd
commit
bfc6f35ce1
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user