Skip to content

Commit 4d0e5c8

Browse files
committed
fix(telegram): gate micro-curation report on skills.verbose flag
telegram.go was missing the skillsCfg.Verbose check that main.go already had, causing the micro-curation report to always be sent to Telegram regardless of the verbose setting.
1 parent bb716db commit 4d0e5c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/odek/telegram.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ func handleChatMessage(
910910
}
911911
}
912912
msg := skills.RunAutoCurate(userDir, newSkills, allSkills, *skillsCfg, nil)
913-
if msg != "" {
913+
if msg != "" && skillsCfg.Verbose {
914914
sendAsync(bot, chatID, msg, nil)
915915
}
916916
}

0 commit comments

Comments
 (0)