fix:不认识的用户构建关系

This commit is contained in:
SengokuCola
2025-08-12 16:57:08 +08:00
parent 527f297397
commit 918429605a
2 changed files with 3 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ class Person:
if not is_person_known(person_id=self.person_id):
self.is_known = False
logger.warning(f"用户 {platform}:{user_id}:{person_name}:{person_id} 尚未认识")
self.person_name = f"未知用户{self.person_id[:4]}"
return
self.is_known = False