mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 19:10:23 +00:00
fix: preserve approval account bindings
This commit is contained in:
@@ -276,9 +276,13 @@ describe("matrix exec approvals", () => {
|
||||
"agent:ops-agent:matrix:channel:!room:example.org": {
|
||||
sessionId: "main",
|
||||
updatedAt: 1,
|
||||
lastChannel: "matrix",
|
||||
lastTo: "room:!room:example.org",
|
||||
lastAccountId: "ops",
|
||||
origin: {
|
||||
provider: "matrix",
|
||||
accountId: "ops",
|
||||
},
|
||||
lastChannel: "slack",
|
||||
lastTo: "channel:C999",
|
||||
lastAccountId: "work",
|
||||
},
|
||||
}),
|
||||
"utf-8",
|
||||
|
||||
@@ -128,9 +128,13 @@ describe("telegram exec approvals", () => {
|
||||
"agent:ops:telegram:direct:123": {
|
||||
sessionId: "main",
|
||||
updatedAt: 1,
|
||||
lastChannel: "telegram",
|
||||
lastTo: "123",
|
||||
lastAccountId: "ops",
|
||||
origin: {
|
||||
provider: "telegram",
|
||||
accountId: "ops",
|
||||
},
|
||||
lastChannel: "slack",
|
||||
lastTo: "channel:C999",
|
||||
lastAccountId: "work",
|
||||
},
|
||||
}),
|
||||
"utf-8",
|
||||
|
||||
Reference in New Issue
Block a user