mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix Mrs4s/go-cqhttp#375.
This commit is contained in:
parent
5be0ad9461
commit
8ece3a9dd8
@ -125,9 +125,6 @@ func decodeSystemMsgGroupPacket(c *QQClient, _ uint16, payload []byte) (interfac
|
|||||||
if err := proto.Unmarshal(payload, &rsp); err != nil {
|
if err := proto.Unmarshal(payload, &rsp); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if len(rsp.Groupmsgs) == 0 {
|
|
||||||
return nil, nil
|
|
||||||
}
|
|
||||||
ret := &GroupSystemMessages{}
|
ret := &GroupSystemMessages{}
|
||||||
for _, st := range rsp.Groupmsgs {
|
for _, st := range rsp.Groupmsgs {
|
||||||
if st.Msg == nil {
|
if st.Msg == nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user