Merge branch 'whatsapp-media' of github.com:imShara/matterbridge into whatsapp-media

This commit is contained in:
imShara
2019-05-19 21:28:30 +03:00

View File

@@ -101,7 +101,7 @@ func (b *Btelegram) Send(msg config.Message) (string, error) {
// Post normal message
// 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
if msg.Text != "" {
msgRes, msgErr = b.sendMessage(chatid, msg.Username, msg.Text)