From 8ece3a9dd80376b927400f50e97f7f40fe9ccf06 Mon Sep 17 00:00:00 2001 From: Mrs4s <1844812067@qq.com> Date: Mon, 26 Oct 2020 07:40:14 +0800 Subject: [PATCH] fix Mrs4s/go-cqhttp#375. --- client/system_msg.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/system_msg.go b/client/system_msg.go index 5cd04f98..2e18a6c3 100644 --- a/client/system_msg.go +++ b/client/system_msg.go @@ -125,9 +125,6 @@ func decodeSystemMsgGroupPacket(c *QQClient, _ uint16, payload []byte) (interfac if err := proto.Unmarshal(payload, &rsp); err != nil { return nil, err } - if len(rsp.Groupmsgs) == 0 { - return nil, nil - } ret := &GroupSystemMessages{} for _, st := range rsp.Groupmsgs { if st.Msg == nil {