From 7e49ed4869e95fa7b84708f25827b9f95c5cdd73 Mon Sep 17 00:00:00 2001 From: sam01101 Date: Mon, 18 Jan 2021 21:29:25 +0800 Subject: [PATCH] Make send_group_forward_msg can use on get_msg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 理论上这个是正常支持的, Fix https://github.com/Mrs4s/go-cqhttp/issues/542 --- coolq/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coolq/api.go b/coolq/api.go index c6a3295..8ee05c9 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -343,7 +343,7 @@ func (bot *CQBot) CQSendGroupForwardMessage(groupId int64, m gjson.Result) MSG { if len(sendNodes) > 0 { gm := bot.Client.SendGroupForwardMessage(groupId, &message.ForwardMessage{Nodes: sendNodes}) return OK(MSG{ - "message_id": ToGlobalId(groupId, gm.Id), + "message_id": bot.InsertGroupMessage(gm), }) } return Failed(100)