From 85182073fbe0433ef00d59920c0951abb527f5e5 Mon Sep 17 00:00:00 2001 From: Bakadax Date: Fri, 25 Apr 2025 14:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=88=B3=E4=B8=80=E6=88=B3?= =?UTF-8?q?=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/recv_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/recv_handler.py b/src/recv_handler.py index 66dcb66..50f14ea 100644 --- a/src/recv_handler.py +++ b/src/recv_handler.py @@ -536,8 +536,8 @@ class RecvHandler: else: return None try: - first_txt = raw_info[2].get("text", "戳了戳") - second_txt = raw_info[4].get("text", "") + first_txt = raw_info[2].get("txt", "戳了戳") + second_txt = raw_info[4].get("txt", "") except Exception as e: logger.warning(f"解析戳一戳消息失败,使用默认文本:{str(e)}") first_txt = "戳了戳"