We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d0c204 commit e2eafcaCopy full SHA for e2eafca
1 file changed
client/listener.go
@@ -87,8 +87,8 @@ func decodeOlPushServicePacket(c *QQClient, pkt *network.Packet) (any, error) {
87
if err != nil {
88
return nil, err
89
}
90
- // 3 是bot自身被踢出,Operator字段会是一个protobuf
91
- if pb.DecreaseType == 3 && pb.Operator != nil {
+ // 3 是bot自身被踢出,131 是群成员被踢出,Operator字段会是一个protobuf
+ if (pb.DecreaseType == 3 || pb.DecreaseType == 131) && pb.Operator != nil {
92
Operator := message.OperatorInfo{}
93
err = proto.Unmarshal(pb.Operator, &Operator)
94
0 commit comments