The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(qqbot): authorize approval clicks for dm session keys
penginman2ff990c13f7d
diff --git a/gateway/platforms/qqbot/adapter.py b/gateway/platforms/qqbot/adapter.pyindex c4f6caf6dd4..2be580af113 100644--- a/gateway/platforms/qqbot/adapter.py+++ b/gateway/platforms/qqbot/adapter.py@@ -668,7 +668,7 @@ class QQAdapter(BasePlatformAdapter):chat_type = parsed.get("chat_type", "")chat_id = parsed.get("chat_id", "")- if chat_type == "c2c":+ if chat_type in {"c2c", "dm"}:return bool(chat_id) and operator == chat_idif chat_type in {"group", "guild"}:event_chat = str(event.group_openid or event.guild_id or "").strip()