From 154f7b6a30c62b09de55e6acab81b33a8ac0b347 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: Sat, 3 Aug 2024 14:57:24 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B8=85=E9=99=A4=E8=80=81=E6=97=A7?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/src/apis/msg.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/core/src/apis/msg.ts b/src/core/src/apis/msg.ts index 4a041399..820e52a9 100644 --- a/src/core/src/apis/msg.ts +++ b/src/core/src/apis/msg.ts @@ -66,8 +66,6 @@ setTimeout(() => { // console.log(await NTQQMsgApi.multiForwardMsg(peer, peer, [MsgId])); // }, 25000) -let SendMsgSeq = new Map>(); - export class NTQQMsgApi { // static async CheckSendMode() { // try { @@ -176,12 +174,6 @@ export class NTQQMsgApi { peerUid: peer.peerUid }, msgIds); } - //并发Seq - static async sendMsgV3(peer: Peer, msgElements: SendMessageElement[], waitComplete = true, timeout = 10000) { - let msgList = await NTQQMsgApi.getLastestMsgByUids(peer); - let data = await napCatCore.session.getMsgService().sendMsg("0", peer, msgElements, new Map()); - SendMsgSeq.get(peer)?.push() - } static async sendMsgV2(peer: Peer, msgElements: SendMessageElement[], waitComplete = true, timeout = 10000) { // function generateMsgId() { // const timestamp = Math.floor(Date.now() / 1000);