mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01:00
Fix incorrect forward from text line (telegram)
This commit is contained in:
parent
f56163295c
commit
0a91b9e1c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user