diff --git a/client/multimsg.go b/client/multimsg.go index 76c56aa6..430b54e1 100644 --- a/client/multimsg.go +++ b/client/multimsg.go @@ -164,6 +164,7 @@ func (l *forwardMsgLinker) link(name string) *message.ForwardMessage { } nodes = append(nodes, &message.ForwardNode{ + GroupId: m.Head.GroupInfo.GetGroupCode(), SenderId: m.Head.GetFromUin(), SenderName: name, Time: m.Head.GetMsgTime(), diff --git a/message/forward.go b/message/forward.go index a1226bb2..f72030f0 100644 --- a/message/forward.go +++ b/message/forward.go @@ -19,7 +19,8 @@ type ForwardMessage struct { Nodes []*ForwardNode } -type ForwardNode struct { +type ForwardNode struct { // todo 加一个group_id + GroupId int64 SenderId int64 SenderName string Time int32