fix(feishu): remove allowFrom prompt, use pairing mode by default
This commit is contained in:
parent
31d87fa133
commit
3e4c397451
@ -199,6 +199,7 @@ export const feishuOnboardingAdapter: ChannelOnboardingAdapter = {
|
|||||||
feishu: {
|
feishu: {
|
||||||
...next.channels?.feishu,
|
...next.channels?.feishu,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
dmPolicy: "pairing",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as ClawdbotConfig;
|
} as ClawdbotConfig;
|
||||||
@ -293,14 +294,7 @@ export const feishuOnboardingAdapter: ChannelOnboardingAdapter = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// WebSocket mode - no webhook configuration needed
|
// WebSocket mode - no webhook configuration needed
|
||||||
|
// Pairing mode by default - no allowFrom needed
|
||||||
if (forceAllowFrom) {
|
|
||||||
next = await promptFeishuAllowFrom({
|
|
||||||
cfg: next,
|
|
||||||
prompter,
|
|
||||||
accountId: feishuAccountId,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return { cfg: next, accountId: feishuAccountId };
|
return { cfg: next, accountId: feishuAccountId };
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user