对消息进行格式化
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user