diff options
author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2016-12-17 18:43:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-17 18:43:54 +0900 |
commit | 8b47670a74c5f6c39da9c91cc2107ceb3d092de5 (patch) | |
tree | 3b5c63ca2620b69df1ec87b32e14c5a2c78411a7 | |
parent | 7f5dc1d461cb1df72915fb5069504b518ab93beb (diff) | |
download | matterbridge-msglm-8b47670a74c5f6c39da9c91cc2107ceb3d092de5.tar.gz matterbridge-msglm-8b47670a74c5f6c39da9c91cc2107ceb3d092de5.tar.bz2 matterbridge-msglm-8b47670a74c5f6c39da9c91cc2107ceb3d092de5.zip |
Telegram: Fix the missing username
-rw-r--r-- | bridge/telegram/telegram.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go index aaffe839..db3ab323 100644 --- a/bridge/telegram/telegram.go +++ b/bridge/telegram/telegram.go @@ -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 } |