From 9ae3bc4d0d0844be358b73f45d8ac43c2d36dc0e Mon Sep 17 00:00:00 2001 From: oldkingOK Date: Thu, 11 Jan 2024 11:01:40 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E7=BE=A4=E5=8F=8B=E6=9C=AA=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=BE=A4=E6=98=B5=E7=A7=B0=E6=97=B6=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=9C=A8=E6=9C=8D=E5=8A=A1=E5=99=A8=E6=98=BE=E7=A4=BA=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=20=E5=85=88=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=9C=89=E7=BE=A4=E6=98=B5=E7=A7=B0=EF=BC=8C=E7=84=B6=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py-server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py-server.py b/py-server.py index 80c7dfee..806b52bd 100644 --- a/py-server.py +++ b/py-server.py @@ -60,7 +60,8 @@ def handle_qq_json(msg): if (qq_json["sub_type"] != "normal"):return if (qq_json["group_id"] != GROUP_ID):return - sender = qq_json["sender"]["nickname"] + sender = qq_json["sender"]["card"] + if (sender == ""): sender = qq_json["sender"]["nickname"] result = "" """ Message example: