5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 10:30:26 +00:00

Fix incorrect forward from text line (telegram)

This commit is contained in:
Wim 2017-12-11 12:15:26 +01:00
parent f56163295c
commit 0a91b9e1c9

View File

@ -190,7 +190,6 @@ func (b *Btelegram) handleRecv(updates <-chan tgbotapi.Update) {
}
if message.ForwardFrom != nil {
text = "Forward from " + message.ForwardFrom.FirstName
usernameForward := ""
if b.Config.UseFirstName {
usernameForward = message.ForwardFrom.FirstName