优化内容

This commit is contained in:
liuwei
2025-04-22 17:56:47 +08:00
parent 2e4a426dcf
commit 3318e175a2
4 changed files with 13 additions and 10 deletions

View File

@@ -71,8 +71,8 @@ async def handle_mod_contacts(msg: WxMessage):
logger.info(f"联系人信息变更: {msg.raw_data}")
# 获取对应的Robot实例并刷新联系人
robot = robot_instances.get(msg.appid)
if robot:
robot.refresh_contacts()
# if robot:
# robot.refresh_contacts()
async def handle_del_contacts(msg: WxMessage):