Skip to content

Commit 579d150

Browse files
zw-xyskclaude
andcommitted
fix(agents): preserve account-scoped Feishu bind alongside peer binding
When peerBinding is resolved from explicitAccountId, the accountId should still reflect the explicit binding — not be cleared. This preserves account-scoped Feishu binds that start with oc_ or ou_. Co-Authored-By: Claude (via Anthropic API) <[email protected]>
1 parent 88031bc commit 579d150

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/commands/agents.bindings.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export function buildChannelBindings(params: {
303303
channel,
304304
config: params.config,
305305
agentId,
306-
explicitAccountId: peerBinding ? undefined : explicitAccountId,
306+
explicitAccountId,
307307
});
308308
if (peerBinding) {
309309
match.peer = peerBinding;

0 commit comments

Comments
 (0)