Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ func decodeOlPushServicePacket(c *QQClient, pkt *network.Packet) (any, error) {
if err != nil {
return nil, err
}
// 3 是bot自身被踢出,Operator字段会是一个protobuf
if pb.DecreaseType == 3 && pb.Operator != nil {
// 3 是bot自身被踢出,131 是群成员被踢出,Operator字段会是一个protobuf
if (pb.DecreaseType == 3 || pb.DecreaseType == 131) && pb.Operator != nil {
Operator := message.OperatorInfo{}
err = proto.Unmarshal(pb.Operator, &Operator)
if err != nil {
Expand Down