diff options
author | @42wim <wim@42.be> | 2016-12-17 15:44:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-17 15:44:26 +0100 |
commit | 84d259d8b3d06a184e3f0659ec9dc6f0529201e1 (patch) | |
tree | 3b5c63ca2620b69df1ec87b32e14c5a2c78411a7 | |
parent | 7f5dc1d461cb1df72915fb5069504b518ab93beb (diff) | |
parent | 8b47670a74c5f6c39da9c91cc2107ceb3d092de5 (diff) | |
download | matterbridge-msglm-84d259d8b3d06a184e3f0659ec9dc6f0529201e1.tar.gz matterbridge-msglm-84d259d8b3d06a184e3f0659ec9dc6f0529201e1.tar.bz2 matterbridge-msglm-84d259d8b3d06a184e3f0659ec9dc6f0529201e1.zip |
Merge pull request #102 from ishitatsuyuki/patch-1
Fix the missing username (telegram). Closes #93
-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 } |