系统通知,显示为系统发送

This commit is contained in:
xaoyaoo 2024-03-15 15:39:14 +08:00
parent a40259b204
commit 6017246491

View File

@ -276,6 +276,8 @@ def get_msg_list(MSG_db_path, selected_talker="", start_index=0, page_size=500):
if bytes_extra: if bytes_extra:
try: try:
talker = bytes_extra['3'][0]['2'].decode('utf-8', errors='ignore') talker = bytes_extra['3'][0]['2'].decode('utf-8', errors='ignore')
if "publisher-id" in talker:
talker = "系统"
except: except:
pass pass
else: else: