consent-recorder: fix review findings
- /delete discards the in-progress utterance before deleting files - keep the current channel even when the bot itself fills it (joinable=false) - bind OAuth state to the browser via a short-lived cookie - reject consent submitted from a page showing an older consent version - regression tests for all four Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,7 @@ const store = new Store(path.join(cfg.dataDir, 'consent.db'));
|
||||
const bot = new FollowBot(cfg, store);
|
||||
const site = createSite(cfg, store, {
|
||||
consentChanged: (id) => bot.consentChanged(id),
|
||||
discardActive: (id) => bot.discardActive(id),
|
||||
recordingNow: (id) => bot.recordingNow(id),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user