fix(security): gate slash commands by sender

This commit is contained in:
Peter Steinberger
2026-01-17 05:25:37 +00:00
parent c8b826ea8c
commit a624878973
14 changed files with 525 additions and 85 deletions

View File

@@ -2064,9 +2064,11 @@ describe("createTelegramBot", () => {
loadConfig.mockReturnValue({
commands: { native: true },
telegram: {
dmPolicy: "open",
allowFrom: ["*"],
channels: {
telegram: {
dmPolicy: "open",
allowFrom: ["*"],
},
},
});