mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-26 00:51:36 +00:00
Telegram: Fix the missing username
This commit is contained in:
parent
7f5dc1d461
commit
8b47670a74
@ -57,7 +57,7 @@ func (b *Btelegram) Send(msg config.Message) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
m := tgbotapi.NewMessage(chatid, msg.Text)
|
m := tgbotapi.NewMessage(chatid, msg.Username + msg.Text)
|
||||||
_, err = b.c.Send(m)
|
_, err = b.c.Send(m)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user