fix(gateway): add chat_id to hook_ctx for message source tracking
This commit is contained in:
@@ -7543,6 +7543,7 @@ class GatewayRunner:
|
||||
hook_ctx = {
|
||||
"platform": source.platform.value if source.platform else "",
|
||||
"user_id": source.user_id,
|
||||
"chat_id": source.chat_id or "",
|
||||
"session_id": session_entry.session_id,
|
||||
"message": message_text[:500],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user