Revert "perf: API优化"

This reverts commit 1cc9d501ab.
This commit is contained in:
Alen 2024-08-18 18:49:46 +08:00
parent 1cc9d501ab
commit a6a3d71155

View File

@ -232,11 +232,6 @@ 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();
};
}, },
); );
} }