4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-19 03:28:55 +00:00

Merge pull request #102 from ishitatsuyuki/patch-1

Fix the missing username (telegram). Closes #93
This commit is contained in:
@42wim
2016-12-17 15:44:26 +01:00
committed by GitHub

View File

@ -57,7 +57,7 @@ func (b *Btelegram) Send(msg config.Message) error {
if err != nil {
return err
}
m := tgbotapi.NewMessage(chatid, msg.Text)
m := tgbotapi.NewMessage(chatid, msg.Username + msg.Text)
_, err = b.c.Send(m)
return err
}