summaryrefslogtreecommitdiffstats
path: root/bridge/telegram
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2016-12-17 18:43:54 +0900
committerGitHub <noreply@github.com>2016-12-17 18:43:54 +0900
commit8b47670a74c5f6c39da9c91cc2107ceb3d092de5 (patch)
tree3b5c63ca2620b69df1ec87b32e14c5a2c78411a7 /bridge/telegram
parent7f5dc1d461cb1df72915fb5069504b518ab93beb (diff)
downloadmatterbridge-msglm-8b47670a74c5f6c39da9c91cc2107ceb3d092de5.tar.gz
matterbridge-msglm-8b47670a74c5f6c39da9c91cc2107ceb3d092de5.tar.bz2
matterbridge-msglm-8b47670a74c5f6c39da9c91cc2107ceb3d092de5.zip
Telegram: Fix the missing username
Diffstat (limited to 'bridge/telegram')
-rw-r--r--bridge/telegram/telegram.go2
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
}