Skip to content

Commit 0dedf31

Browse files
foekenclaude
andcommitted
fix: Apply cleanID to focus command flags
The focus command uses flag variables instead of positional args, so cleanID needs to be applied to chatID and messageID flags. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bda6c5e commit 0dedf31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,10 @@ Examples:
330330

331331
body := map[string]interface{}{}
332332
if chatID != "" {
333-
body["chatID"] = chatID
333+
body["chatID"] = cleanID(chatID)
334334
}
335335
if messageID != "" {
336-
body["messageID"] = messageID
336+
body["messageID"] = cleanID(messageID)
337337
}
338338
if draftText != "" {
339339
body["draftText"] = draftText

0 commit comments

Comments
 (0)