From 8b47670a74c5f6c39da9c91cc2107ceb3d092de5 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sat, 17 Dec 2016 18:43:54 +0900 Subject: Telegram: Fix the missing username --- bridge/telegram/telegram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3