mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
perf: API优化
优化get_group_member_info在查询非群员时的效率
This commit is contained in:
parent
7a98025df8
commit
1cc9d501ab
@ -232,6 +232,11 @@ export class LegacyNTEventWrapper {
|
|||||||
this.createListenerFunction(ListenerMainName);
|
this.createListenerFunction(ListenerMainName);
|
||||||
const EventFunc = this.createEventFunction<EventType>(EventName);
|
const EventFunc = this.createEventFunction<EventType>(EventName);
|
||||||
retEvent = await EventFunc!(...(args as any[]));
|
retEvent = await EventFunc!(...(args as any[]));
|
||||||
|
// 120271006: TaskGetGroupMemberList 0x899_EMPTY_RSP_BODY 查找群内不存在的成员返回
|
||||||
|
if (typeof retEvent === 'object' && retEvent?.result !== 0) {
|
||||||
|
clearTimeout(Timeouter);
|
||||||
|
databack();
|
||||||
|
};
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user