fix: allow empty responsePrefix

This commit is contained in:
Peter Steinberger
2025-12-27 00:33:04 +00:00
parent 7e380bb6f8
commit 95f8f80e74
3 changed files with 28 additions and 1 deletions

View File

@@ -878,7 +878,7 @@ function applyIdentityDefaults(cfg: ClawdisConfig): ClawdisConfig {
let mutated = false;
const next: ClawdisConfig = { ...cfg };
if (emoji && !messages.responsePrefix) {
if (emoji && messages.responsePrefix === undefined) {
next.messages = { ...(next.messages ?? messages), responsePrefix: emoji };
mutated = true;
}