From 014f0758f53e640daf19489e7196b1f83b1a6745 Mon Sep 17 00:00:00 2001 From: pk5ls20 Date: Sun, 20 Oct 2024 23:52:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=83=A8=E5=88=86=E5=9B=9E=E6=BB=9A?= =?UTF-8?q?=20https://github.com/NapNeko/NapCatQQ/commit/bb72d70b?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/onebot/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/onebot/index.ts b/src/onebot/index.ts index 8e19dfd9..e56656ef 100644 --- a/src/onebot/index.ts +++ b/src/onebot/index.ts @@ -304,10 +304,10 @@ export class NapCatOneBot11Adapter { }, m.msgId, ); - if (m.sourceType == MsgSourceType.K_DOWN_SOURCETYPE_AIOINNER) { + // if (m.sourceType == MsgSourceType.K_DOWN_SOURCETYPE_AIOINNER) { await this.emitMsg(m) .catch(e => this.context.logger.logError.bind(this.context.logger)('处理消息失败', e)); - } + // } } }; @@ -575,7 +575,7 @@ export class NapCatOneBot11Adapter { // } this.networkManager.emitEvent(ob11Msg); }).catch(e => this.context.logger.logError.bind(this.context.logger)('constructMessage error: ', e)); - + this.apis.GroupApi.parseGroupEvent(message).then(groupEvent => { if (groupEvent) { // log("post group event", groupEvent);