feat:部分处理notify,自动同步数据库null约束变更

notify存储至message库
This commit is contained in:
SengokuCola
2025-08-08 12:34:21 +08:00
parent a7bd6a05b3
commit a2c86f3605
7 changed files with 285 additions and 12 deletions

View File

@@ -217,7 +217,8 @@ class ChatManager:
# 更新用户信息和群组信息
stream.update_active_time()
stream = copy.deepcopy(stream) # 返回副本以避免外部修改影响缓存
stream.user_info = user_info
if user_info.platform and user_info.user_id:
stream.user_info = user_info
if group_info:
stream.group_info = group_info
from .message import MessageRecv # 延迟导入,避免循环引用