mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:50:42 +00:00
fix(gateway,agent): only enforce session sendPolicy=deny when delivering
Co-authored-by: wenxu007 <270593229+wenxu007@users.noreply.github.com>
This commit is contained in:
@@ -2802,6 +2802,7 @@ describe("gateway agent handler", () => {
|
||||
|
||||
const respond = await runMainAgent("smoke", "non-delivery-deny");
|
||||
|
||||
expect(mocks.resolveSendPolicy).not.toHaveBeenCalled();
|
||||
expect(respond).not.toHaveBeenCalledWith(
|
||||
false,
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user