From 172c949de795eb109d21b656763397124cb8583c Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 22 Apr 2025 15:16:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=8F=AA=E6=94=AF=E6=8C=8120?= =?UTF-8?q?=E4=B8=AA=E4=BB=A5=E5=86=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/wechat/contact_manager.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/utils/wechat/contact_manager.py b/utils/wechat/contact_manager.py index 920df9c..74de9bc 100644 --- a/utils/wechat/contact_manager.py +++ b/utils/wechat/contact_manager.py @@ -92,13 +92,6 @@ class ContactManager: elif wxid.endswith('@chatroom'): self._group_contacts[wxid] = nickname - # # 其他为普通好友和群成员 - # else: - # self._personal_contacts[wxid] = nickname - for friend in self._friends: - # 过滤掉非好友 - self._personal_contacts[friend.get("wxid", "")] = friend.get("name", "") - self._logger.info(f"联系人分类完成: {len(self._group_contacts)} 个群组, " f"{len(self._personal_contacts)} 个个人联系人, " f"{len(self._public_contacts)} 个公共好友, "