chore: clean code for group.ts

This commit is contained in:
Wesley F. Young
2024-08-31 14:07:48 +08:00
parent b406bdfc37
commit f34740f1f0
2 changed files with 22 additions and 41 deletions

View File

@@ -71,7 +71,7 @@ export class MarkAllMsgAsRead extends BaseAction<Payload, null> {
async _handle(payload: Payload): Promise<null> {
const NTQQMsgApi = this.core.apis.MsgApi;
await NTQQMsgApi.markallMsgAsRead();
await NTQQMsgApi.markAllMsgAsRead();
return null;
}
}