From 550d18e06a32548d8daf3b1c8a92612c860dff5b Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Sat, 25 Oct 2025 12:32:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BE=A4=E6=88=90?= =?UTF-8?q?=E5=91=98=E8=A2=AB=E7=AE=A1=E7=90=86T=E5=87=BA=E6=97=B6=20?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=91=98=E6=95=B0=E6=8D=AE=E6=9C=AA=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/listener.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/listener.go b/client/listener.go index 4848b0d1..83acfa48 100644 --- a/client/listener.go +++ b/client/listener.go @@ -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 {