From 99266ea57913663f9880c512726c42cb7e5e7f28 Mon Sep 17 00:00:00 2001
From: yj <2077506045@qq.com>
Date: 星期一, 28 七月 2025 11:14:28 +0800
Subject: [PATCH] 新增忽略好友消息;删除多余文件

---
 app/services/contact_sync.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/app/services/contact_sync.py b/app/services/contact_sync.py
index 42d4acd..a775333 100644
--- a/app/services/contact_sync.py
+++ b/app/services/contact_sync.py
@@ -8,6 +8,7 @@
 from app.models.contact import Contact
 from app.models.database import get_db
 from app.services.ecloud_client import ecloud_client
+from app.services.friend_ignore_service import friend_ignore_service
 
 
 class ContactSyncService:
@@ -48,7 +49,10 @@
 
             logger.info(f"鑾峰彇鍒板ソ鍙嬪垪琛�: wId={w_id}, count={len(friends)}")
 
-            # 4. 鎵归噺鑾峰彇鑱旂郴浜鸿缁嗕俊鎭�
+            # 4. 灏嗗ソ鍙媤_id娣诲姞鍒癛edis蹇界暐鍒楄〃
+            friend_ignore_service.add_friends_to_ignore_list(friends)
+
+            # 5. 鎵归噺鑾峰彇鑱旂郴浜鸿缁嗕俊鎭�
             return self._batch_sync_contacts(w_id, friends)
 
         except Exception as e:

--
Gitblit v1.9.1