feat: 彻底 扬了Old WebUi
This commit is contained in:
1 parent
7ee48f1443
commit
db3d435402
2 files changed
+6
-19
No files matched your search
+6
-6
@@ -140,12 +140,12 @@ export class NapCatOneBot11Adapter {
|
||||
|
||||
await WebUiDataRuntime.setQQLoginUin(selfInfo.uin.toString());
|
||||
await WebUiDataRuntime.setQQLoginStatus(true);
|
||||
// await WebUiDataRuntime.setOnOB11ConfigChanged(async (newConfig: OB11Config) => {
|
||||
// const prev = this.configLoader.configData;
|
||||
// this.configLoader.save(newConfig);
|
||||
// this.context.logger.log(`OneBot11 配置更改:${JSON.stringify(prev)} -> ${JSON.stringify(newConfig)}`);
|
||||
// await this.reloadNetwork(prev, newConfig);
|
||||
// });
|
||||
await WebUiDataRuntime.setOnOB11ConfigChanged(async (newConfig) => {
|
||||
const prev = this.configLoader.configData;
|
||||
this.configLoader.save(newConfig);
|
||||
this.context.logger.log(`OneBot11 配置更改:${JSON.stringify(prev)} -> ${JSON.stringify(newConfig)}`);
|
||||
//await this.reloadNetwork(prev, newConfig);
|
||||
});
|
||||
}
|
||||
|
||||
initRecentContactListener() {
|
||||
|
||||
Reference in new issue
Block a user