add: RecentListener

This commit is contained in:
手瓜一十雪
2024-07-21 19:01:47 +08:00
parent 83d807a943
commit f4a06dc82b
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();
}
}