mirror of
https://github.com/LC044/WeChatMsg
synced 2025-02-21 18:12:18 +08:00
修复不能显示最新数据的问题
This commit is contained in:
parent
996582a81e
commit
0b04b8b45e
@ -146,7 +146,7 @@ class ShowChatThread(QThread):
|
||||
# heightSingal = pyqtSignal(int)
|
||||
def __init__(self, contact):
|
||||
super().__init__()
|
||||
self.last_message_id = msg_db.get_messages_length() or 9999999
|
||||
self.last_message_id = 99999999
|
||||
self.wxid = contact.wxid
|
||||
|
||||
def run(self) -> None:
|
||||
|
@ -91,6 +91,7 @@ def get_emoji(xml_string, thumb=True, output_path=root_path) -> str:
|
||||
prefix = 'th_' if thumb else ''
|
||||
file_path = os.path.join(output_path, prefix + md5 + f)
|
||||
if os.path.exists(file_path):
|
||||
print('表情包已存在')
|
||||
return file_path
|
||||
url = emoji_info['thumburl'] if thumb else emoji_info['cdnurl']
|
||||
print("下载表情包ing:", url)
|
||||
|
Loading…
Reference in New Issue
Block a user