From 4427774c2df22eefe038e275157da1a98c25535e Mon Sep 17 00:00:00 2001 From: idranme Date: Mon, 12 Aug 2024 00:01:06 +0800 Subject: [PATCH 1/2] fix: multiForwardMsg --- src/ntqqapi/api/msg.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ntqqapi/api/msg.ts b/src/ntqqapi/api/msg.ts index b413271..de26ba1 100644 --- a/src/ntqqapi/api/msg.ts +++ b/src/ntqqapi/api/msg.ts @@ -208,8 +208,9 @@ export class NTQQMsgApi { } static async multiForwardMsg(srcPeer: Peer, destPeer: Peer, msgIds: string[]): Promise { - const msgInfos = msgIds.map(async id => { - return { msgId: id, senderShowName: await getSelfNick() } + const senderShowName = await getSelfNick() + const msgInfos = msgIds.map(id => { + return { msgId: id, senderShowName } }) const selfUid = getSelfUid() let data = await NTEventDispatch.CallNormalEvent< From b2b996df9c51630417e03b7e2f533f0b7f44cf46 Mon Sep 17 00:00:00 2001 From: idranme Date: Mon, 12 Aug 2024 00:01:39 +0800 Subject: [PATCH 2/2] chore: v3.28.6 --- manifest.json | 2 +- src/version.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 8336a28..f218c4e 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "LLOneBot", "slug": "LLOneBot", "description": "实现 OneBot 11 协议,用以 QQ 机器人开发", - "version": "3.28.5", + "version": "3.28.6", "icon": "./icon.webp", "authors": [ { diff --git a/src/version.ts b/src/version.ts index 313c8ea..b13a226 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const version = '3.28.5' +export const version = '3.28.6'