mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-19 09:32:35 +01:00
Merge pull request #102 from ishitatsuyuki/patch-1
Fix the missing username (telegram). Closes #93
This commit is contained in:
commit
84d259d8b3
@ -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