add: RecentListener

This commit is contained in:
手瓜一十雪
2024-07-21 19:01:47 +08:00
parent 3da1659c8d
commit 1176fe984a
4 changed files with 54 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import { NTQQUserApi } from '@/core';
export default class GetRecentContact extends BaseAction<void, any> {
actionName = ActionName.GetRecentContact;
protected async _handle(payload: void) {
return await NTQQUserApi.getRecentContactList()
//没有效果
return await NTQQUserApi.getRecentContactListSync();
}
}