mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
chore: 清除老旧代码
This commit is contained in:
parent
52e5543d0b
commit
154f7b6a30
@ -66,8 +66,6 @@ setTimeout(() => {
|
||||
// console.log(await NTQQMsgApi.multiForwardMsg(peer, peer, [MsgId]));
|
||||
// }, 25000)
|
||||
|
||||
let SendMsgSeq = new Map<Peer, Array<number>>();
|
||||
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user