chore: make format

This commit is contained in:
Felipe M 2025-06-23 11:34:27 +02:00
parent 0edf41c792
commit bdc797d5c1
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
2 changed files with 2 additions and 2 deletions

View file

@ -236,7 +236,7 @@ func (t *TelegramPlatform) SendMessage(msg *model.Message) error {
"chat_id": chatID,
"text": msg.Text,
}
// Set parse_mode based on plugin preference or default to Markdown
if msg.Raw != nil && msg.Raw["parse_mode"] != nil {
// Plugin explicitly set parse_mode

View file

@ -117,4 +117,4 @@ func TestTwitterExpander_OnMessage(t *testing.T) {
}
})
}
}
}