对消息进行格式化

This commit is contained in:
liuwei
2025-04-01 15:54:46 +08:00
parent 835e84fd7d
commit 57947bde07

View File

@@ -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 '<refermsg>' in msg['content']: