Fix style bridge/telegram/telegram.go
Remove trailing space Co-Authored-By: fixmie[bot] <fixmie[bot]@users.noreply.github.com>
This commit is contained in:
@@ -101,7 +101,7 @@ func (b *Btelegram) Send(msg config.Message) (string, error) {
|
|||||||
|
|
||||||
// Post normal message
|
// Post normal message
|
||||||
// TODO: recheck it.
|
// TODO: recheck it.
|
||||||
// Ignore empty text field needs for prevent double messages from whatsapp to telegram
|
// Ignore empty text field needs for prevent double messages from whatsapp to telegram
|
||||||
// when sending media with text caption
|
// when sending media with text caption
|
||||||
if msg.Text != "" {
|
if msg.Text != "" {
|
||||||
msgRes, msgErr = b.sendMessage(chatid, msg.Username, msg.Text)
|
msgRes, msgErr = b.sendMessage(chatid, msg.Username, msg.Text)
|
||||||
|
|||||||
Reference in New Issue
Block a user