fix:总之修复bug

This commit is contained in:
SengokuCola
2025-08-12 17:04:26 +08:00
parent 8fc759f93f
commit 1f7d978d1a
3 changed files with 5 additions and 7 deletions

View File

@@ -656,9 +656,9 @@ class DefaultReplyer:
chat_id = chat_stream.stream_id
is_group_chat = bool(chat_stream.group_info)
platform = chat_stream.platform
user_id = reply_message.get("user_id","")
if user_id:
if reply_message:
user_id = reply_message.get("user_id","")
person = Person(platform=platform, user_id=user_id)
person_name = person.person_name or user_id
sender = person_name