mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: Remove unused config code
This commit is contained in:
parent
c2405abdd3
commit
165fcb13cb
@ -14,9 +14,6 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
const configKey = key.split('.');
|
const configKey = key.split('.');
|
||||||
|
|
||||||
if (key.indexOf('ob11') === 0) {
|
if (key.indexOf('ob11') === 0) {
|
||||||
if (configKey[1] === "messagePostFormat") {
|
|
||||||
value = value ? "string" : "array"
|
|
||||||
}
|
|
||||||
if (configKey.length === 2) ob11Config[configKey[1]] = value;
|
if (configKey.length === 2) ob11Config[configKey[1]] = value;
|
||||||
else ob11Config[key] = value;
|
else ob11Config[key] = value;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user