From 57947bde073cd3251151e880040cddc1ed945319 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 1 Apr 2025 15:54:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=B6=88=E6=81=AF=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/dashboard/server.py b/admin/dashboard/server.py index 65daf33..e9f8a44 100644 --- a/admin/dashboard/server.py +++ b/admin/dashboard/server.py @@ -517,7 +517,7 @@ class DashboardServer: msg['sender_name'] = self.contact_manager.get_nickname(msg['sender']) or msg['sender'] # 处理消息内容,格式化引用消息 - if msg['message_type'] == 49 and msg['content']: # 应用消息类型 + if msg['message_type'] == "49" and msg['content']: # 应用消息类型 try: # 检查是否为引用消息 if '' in msg['content']: