修复神秘bug x2
This commit is contained in:
@@ -352,6 +352,8 @@ class NormalChat:
|
|||||||
# --- 新增:处理初始高兴趣消息的私有方法 ---
|
# --- 新增:处理初始高兴趣消息的私有方法 ---
|
||||||
async def _process_initial_interest_messages(self):
|
async def _process_initial_interest_messages(self):
|
||||||
"""处理启动时存在于 interest_dict 中的高兴趣消息。"""
|
"""处理启动时存在于 interest_dict 中的高兴趣消息。"""
|
||||||
|
if not self.interest_dict:
|
||||||
|
return # 如果 interest_dict 为 None或空,直接返回
|
||||||
items_to_process = list(self.interest_dict.items())
|
items_to_process = list(self.interest_dict.items())
|
||||||
if not items_to_process:
|
if not items_to_process:
|
||||||
return # 没有初始消息,直接返回
|
return # 没有初始消息,直接返回
|
||||||
|
|||||||
Reference in New Issue
Block a user