mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 22:46:53 +00:00
fix(discord): preserve native command session keys
This commit is contained in:
@@ -1644,7 +1644,7 @@ async function dispatchDiscordCommandInteraction(params: {
|
||||
return;
|
||||
}
|
||||
}
|
||||
const configuredBoundSessionKey = configuredRoute?.boundSessionKey ?? "";
|
||||
const configuredBoundSessionKey = configuredRoute?.boundSessionKey?.trim() || undefined;
|
||||
const boundSessionKey = threadBinding?.targetSessionKey?.trim() || configuredBoundSessionKey;
|
||||
const boundAgentId = boundSessionKey ? resolveAgentIdFromSessionKey(boundSessionKey) : undefined;
|
||||
const effectiveRoute = boundSessionKey
|
||||
|
||||
Reference in New Issue
Block a user