fix:修复回复目标文本为空
This commit is contained in:
@@ -106,7 +106,8 @@ class HeartFCSender:
|
||||
and not message.is_private_message()
|
||||
and message.reply.processed_plain_text != "[System Trigger Context]"
|
||||
):
|
||||
message.set_reply(message.reply)
|
||||
# message.set_reply(message.reply)
|
||||
message.set_reply()
|
||||
logger.debug(f"[{chat_id}] 应用 set_reply 逻辑: {message.processed_plain_text[:20]}...")
|
||||
|
||||
await message.process()
|
||||
|
||||
@@ -64,7 +64,7 @@ class ChattingInfoProcessor(BaseProcessor):
|
||||
obs_info = ObsInfo()
|
||||
|
||||
# 改为异步任务,不阻塞主流程
|
||||
asyncio.create_task(self.chat_compress(obs))
|
||||
# asyncio.create_task(self.chat_compress(obs))
|
||||
|
||||
# 设置说话消息
|
||||
if hasattr(obs, "talking_message_str"):
|
||||
|
||||
Reference in New Issue
Block a user