refactor: make selfInfo a 'runtime info'

This commit is contained in:
Wesley F. Young committed 2024-08-09 11:03:25 +08:00
1 parent d275108566
commit 80555ea9d4
4 files changed
+24 -31

No files matched your search

+1 -3
View File
@@ -1,4 +1,3 @@
import { NTEventChannel } from "@/common/framework/event";
import { NapCatPathWrapper } from "@/common/framework/napcat";
import { LogWrapper } from "@/common/utils/log";
import { proxiedListenerOf } from "@/common/utils/proxy-handler";
@@ -61,9 +60,8 @@ export class NapCatLiteLoader {
session,
logger,
loginService,
selfInfo,
basicInfoWrapper
};
this.core = new NapCatCore(this.context);
this.core = new NapCatCore(this.context, selfInfo);
}
}