mirror of
https://github.com/LC044/WeChatMsg
synced 2025-02-22 10:52:18 +08:00
html适配移动端
This commit is contained in:
parent
9f16574612
commit
b5a2a504a9
@ -245,7 +245,7 @@ class ChildThread(QThread):
|
||||
if self.contact.is_chatroom:
|
||||
avatar = message[12].smallHeadImgUrl
|
||||
else:
|
||||
avatar = f"{MePC().wxid+'.png' if is_send else self.contact.smallHeadImgUrl}"
|
||||
avatar = MePC().smallHeadImgUrl if is_send else self.contact.smallHeadImgUrl
|
||||
if is_absolute_path:
|
||||
avatar = f"{os.path.abspath('.')}/data/聊天记录/{self.contact.remark}"+avatar
|
||||
return avatar
|
||||
|
Loading…
Reference in New Issue
Block a user