mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: multiForwardMsg
This commit is contained in:
parent
6ad4492f01
commit
4427774c2d
@ -208,8 +208,9 @@ export class NTQQMsgApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static async multiForwardMsg(srcPeer: Peer, destPeer: Peer, msgIds: string[]): Promise<RawMessage> {
|
static async multiForwardMsg(srcPeer: Peer, destPeer: Peer, msgIds: string[]): Promise<RawMessage> {
|
||||||
const msgInfos = msgIds.map(async id => {
|
const senderShowName = await getSelfNick()
|
||||||
return { msgId: id, senderShowName: await getSelfNick() }
|
const msgInfos = msgIds.map(id => {
|
||||||
|
return { msgId: id, senderShowName }
|
||||||
})
|
})
|
||||||
const selfUid = getSelfUid()
|
const selfUid = getSelfUid()
|
||||||
let data = await NTEventDispatch.CallNormalEvent<
|
let data = await NTEventDispatch.CallNormalEvent<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user