mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 20:41:46 +00:00
fix: harden message hook session/group context and add integration coverage (#9859) (thanks @Drickon)
This commit is contained in:
@@ -268,6 +268,7 @@ describe("dispatchReplyFromConfig", () => {
|
||||
Provider: "slack",
|
||||
AccountId: "acc-1",
|
||||
MessageThreadId: 123,
|
||||
GroupChannel: "ops-room",
|
||||
OriginatingChannel: "telegram",
|
||||
OriginatingTo: "telegram:999",
|
||||
});
|
||||
@@ -286,6 +287,8 @@ describe("dispatchReplyFromConfig", () => {
|
||||
to: "telegram:999",
|
||||
accountId: "acc-1",
|
||||
threadId: 123,
|
||||
isGroup: true,
|
||||
groupId: "telegram:999",
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user