refactor: make selfInfo a 'runtime info'
This commit is contained in:
1 parent
d275108566
commit
80555ea9d4
4 files changed
+24
-31
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user