1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 03:53:50 +08:00

Make send_group_forward_msg can use on get_msg

理论上这个是正常支持的, Fix https://github.com/Mrs4s/go-cqhttp/issues/542
This commit is contained in:
sam01101 2021-01-18 21:29:25 +08:00 committed by GitHub
parent 2156b6083b
commit 7e49ed4869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -343,7 +343,7 @@ func (bot *CQBot) CQSendGroupForwardMessage(groupId int64, m gjson.Result) MSG {
if len(sendNodes) > 0 { if len(sendNodes) > 0 {
gm := bot.Client.SendGroupForwardMessage(groupId, &message.ForwardMessage{Nodes: sendNodes}) gm := bot.Client.SendGroupForwardMessage(groupId, &message.ForwardMessage{Nodes: sendNodes})
return OK(MSG{ return OK(MSG{
"message_id": ToGlobalId(groupId, gm.Id), "message_id": bot.InsertGroupMessage(gm),
}) })
} }
return Failed(100) return Failed(100)