mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
feat: handle contact actions
This commit is contained in:
parent
7f764625fe
commit
ac47b4903c
@ -7,6 +7,7 @@ import { LaanaMessageActionImpl } from './action/message';
|
||||
import { LaanaConfigLoader } from './config';
|
||||
import { LaanaNetworkManager } from './network';
|
||||
import { LaanaWsServerAdapter } from './network/ws-server';
|
||||
import { LaanaContactActionImpl } from '@/laana/action/contact';
|
||||
|
||||
export class NapCatLaanaAdapter {
|
||||
utils = {
|
||||
@ -24,6 +25,7 @@ export class NapCatLaanaAdapter {
|
||||
) {
|
||||
this.actions = {
|
||||
...new LaanaMessageActionImpl(this.core, this).handler,
|
||||
...new LaanaContactActionImpl(this.core, this).handler,
|
||||
};
|
||||
this.configLoader = new LaanaConfigLoader(this.core, this.pathWrapper.configPath);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user