mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-08 09:32:54 +00:00
[Fix] Prefer external session delivery context (#87476)
* fix(sessions): prefer external delivery context Signed-off-by: samzong <samzong.lu@gmail.com> * fix: route Feishu session announces from delivery context * fix: accept normalized cron schedule inputs --------- Signed-off-by: samzong <samzong.lu@gmail.com> Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
@@ -96,6 +96,12 @@ afterAll(() => {
|
||||
vi.resetModules();
|
||||
});
|
||||
|
||||
describe("feishuPlugin metadata", () => {
|
||||
it("opts announce delivery into persisted session lookup", () => {
|
||||
expect(feishuPlugin.meta.preferSessionLookupForAnnounceTarget).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe("feishuPlugin.status.probeAccount", () => {
|
||||
it("uses current account credentials for multi-account config", async () => {
|
||||
const cfg = {
|
||||
|
||||
@@ -139,6 +139,7 @@ const meta: ChannelMeta = {
|
||||
blurb: "飞书/Lark enterprise messaging.",
|
||||
aliases: ["lark"],
|
||||
order: 70,
|
||||
preferSessionLookupForAnnounceTarget: true,
|
||||
};
|
||||
|
||||
const loadFeishuChannelRuntime = createLazyRuntimeNamedExport(
|
||||
|
||||
Reference in New Issue
Block a user