We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8762f9a commit ab07c81Copy full SHA for ab07c81
1 file changed
extensions/telegram/src/bot-native-commands.ts
@@ -992,13 +992,10 @@ export const registerTelegramNativeCommands = ({
992
OriginatingChannel: "telegram" as const,
993
OriginatingTo: originatingTo,
994
});
995
- const sessionMetaKey =
996
- ctxPayload.CommandTargetSessionKey?.trim() || ctxPayload.SessionKey || route.sessionKey;
997
-
998
await nativeCommandRuntime.recordInboundSessionMetaSafe({
999
cfg: executionCfg,
1000
agentId: route.agentId,
1001
- sessionKey: sessionMetaKey,
+ sessionKey: commandTargetSessionKey,
1002
ctx: ctxPayload,
1003
onError: (err) =>
1004
runtime.error?.(danger(`telegram slash: failed updating session meta: ${String(err)}`)),
0 commit comments