fix(runtime): narrow discord binding targets after rebase

This commit is contained in:
Peter Steinberger
2026-03-27 18:11:44 +00:00
parent 6e107b8857
commit 694619caaf

View File

@@ -190,7 +190,10 @@ function resolveBindingConversationFromCommand(params: {
return {
channel: "discord",
accountId,
conversationId: target.conversationId,
conversationId:
"conversationId" in target
? target.conversationId
: `${target.chatType === "group" ? "channel" : "user"}:${target.to}`,
};
}
return null;