From efb2be2f94fa13158cf0af28c779e221db61845f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Tue, 23 Jul 2024 09:50:31 +0800 Subject: [PATCH] fix: timeout --- src/core/src/apis/msg.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/src/apis/msg.ts b/src/core/src/apis/msg.ts index 6cc3ee7e..2185d3d2 100644 --- a/src/core/src/apis/msg.ts +++ b/src/core/src/apis/msg.ts @@ -173,10 +173,9 @@ export class NTQQMsgApi { 'NodeIKernelMsgService/sendMsg', 'NodeIKernelMsgListener/onMsgInfoListUpdate', 1, - 5000, + timeout, (msgRecords: RawMessage[]) => { for (let msgRecord of msgRecords) { - //console.log(msgRecord); if (msgRecord.msgId === msgId && msgRecord.sendStatus === 2) { return true; }