chore: make format
This commit is contained in:
parent
0edf41c792
commit
bdc797d5c1
2 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ func (t *TelegramPlatform) SendMessage(msg *model.Message) error {
|
||||||
"chat_id": chatID,
|
"chat_id": chatID,
|
||||||
"text": msg.Text,
|
"text": msg.Text,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set parse_mode based on plugin preference or default to Markdown
|
// Set parse_mode based on plugin preference or default to Markdown
|
||||||
if msg.Raw != nil && msg.Raw["parse_mode"] != nil {
|
if msg.Raw != nil && msg.Raw["parse_mode"] != nil {
|
||||||
// Plugin explicitly set parse_mode
|
// Plugin explicitly set parse_mode
|
||||||
|
|
|
@ -117,4 +117,4 @@ func TestTwitterExpander_OnMessage(t *testing.T) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue