mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-28 06:07:33 +08:00
autonomy notify: enforce notify allowlist from config and add guard test
This commit is contained in:
@@ -958,5 +958,6 @@ func buildAutonomyEngine(cfg *config.Config, msgBus *bus.MessageBus) *autonomy.E
|
||||
Workspace: cfg.WorkspacePath(),
|
||||
DefaultNotifyChannel: a.NotifyChannel,
|
||||
DefaultNotifyChatID: a.NotifyChatID,
|
||||
NotifyAllowChats: a.NotifyAllowChats,
|
||||
}, msgBus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user