fix: 修复某些情况下,会话控制无效的问题

This commit is contained in:
Soulter
2025-06-10 22:26:11 +08:00
parent a6a79128c8
commit c85dbb2347
@@ -221,6 +221,9 @@ class AiocqhttpAdapter(Platform):
a = None
if t == "text":
current_text = "".join(m["data"]["text"] for m in m_group).strip()
if not current_text:
# 如果文本段为空,则跳过
continue
message_str += current_text
a = ComponentTypes[t](text=current_text) # noqa: F405
abm.message.append(a)