From bb0f8bdf9798900b1fbf9302118bc537099f46a6 Mon Sep 17 00:00:00 2001 From: Il Harper Date: Fri, 22 Dec 2023 00:16:27 +0800 Subject: [PATCH] fix(qq): revert "feat(qq): reset `passive` state" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e5777cc89b621a74a2f6a1d8d8906e3ba27c329a. 如果拆分消息,那么每条消息都应该附带 passive。不应该去掉。 --- adapters/qq/src/message.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/adapters/qq/src/message.ts b/adapters/qq/src/message.ts index 9dc55146..6b388579 100644 --- a/adapters/qq/src/message.ts +++ b/adapters/qq/src/message.ts @@ -110,7 +110,6 @@ export class QQGuildMessageEncoder extends MessageE this.file = null this.filename = null this.fileUrl = null - this.passiveId = null this.resource = null this.retry = false } @@ -265,8 +264,6 @@ export class QQMessageEncoder extends MessageEncode // this.results.push(session.event.message) // session.app.emit(session, 'send', session) this.content = '' - this.passiveId = null - this.passiveSeq = null this.attachedFile = null this.rows = [] }