修复语音通话的显示
This commit is contained in:
parent
3ddce806b4
commit
160cc01781
@ -234,8 +234,7 @@ def get_msg_list(MSG_db_path, selected_talker="", start_index=0, page_size=500):
|
|||||||
content["msg"] = type_name
|
content["msg"] = type_name
|
||||||
|
|
||||||
elif type_id == (50, 0): # 语音通话
|
elif type_id == (50, 0): # 语音通话
|
||||||
content_tmp = parse_xml_string(StrContent)
|
content["msg"] = "语音/视频通话[%s]" % DisplayContent
|
||||||
content["msg"] = "语音/视频通话[%s]" % content_tmp.get("VoIPBubbleMsg", {}).get("msg", "")
|
|
||||||
|
|
||||||
# elif type_id == (10000, 0):
|
# elif type_id == (10000, 0):
|
||||||
# content["msg"] = StrContent
|
# content["msg"] = StrContent
|
||||||
|
@ -53,7 +53,6 @@ def init():
|
|||||||
a = get_real_time_msg()
|
a = get_real_time_msg()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return ReJson(0, {"msg_path": save_msg_path, "micro_path": save_micro_path, "is_init": True})
|
return ReJson(0, {"msg_path": save_msg_path, "micro_path": save_micro_path, "is_init": True})
|
||||||
else:
|
else:
|
||||||
return ReJson(1002, body="上次初始化的路径不存在")
|
return ReJson(1002, body="上次初始化的路径不存在")
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"test": ""
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user