修复语音通话的显示

This commit is contained in:
xaoyaoo 2024-02-22 18:57:06 +08:00
parent 3ddce806b4
commit 160cc01781
3 changed files with 1 additions and 6 deletions

View File

@ -234,8 +234,7 @@ def get_msg_list(MSG_db_path, selected_talker="", start_index=0, page_size=500):
content["msg"] = type_name
elif type_id == (50, 0): # 语音通话
content_tmp = parse_xml_string(StrContent)
content["msg"] = "语音/视频通话[%s]" % content_tmp.get("VoIPBubbleMsg", {}).get("msg", "")
content["msg"] = "语音/视频通话[%s]" % DisplayContent
# elif type_id == (10000, 0):
# content["msg"] = StrContent

View File

@ -53,7 +53,6 @@ def init():
a = get_real_time_msg()
except Exception as e:
pass
return ReJson(0, {"msg_path": save_msg_path, "micro_path": save_micro_path, "is_init": True})
else:
return ReJson(1002, body="上次初始化的路径不存在")

View File

@ -1,3 +0,0 @@
{
"test": ""
}