1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-15 08:13:16 +08:00

refactor: 重构 xiaomusic.py 模块

This commit is contained in:
涵曦
2026-01-06 15:28:13 +08:00
parent 72969e75bc
commit 853069dbc4

View File

@@ -88,7 +88,9 @@ class ConversationPoller:
self.log.debug(
f"Listening new message, timestamp: {self.last_timestamp}"
)
session._cookie_jar = self.cookie_jar
# 只有当 cookie_jar 不为 None 时才设置
if self.cookie_jar is not None:
session._cookie_jar = self.cookie_jar
# 拉取所有音箱的对话记录
tasks = []