summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-12-11 12:15:26 +0100
committerWim <wim@42.be>2017-12-11 12:15:26 +0100
commit0a91b9e1c9a7e9fe9e170ddb3d20705f7b3012bc (patch)
tree6c7def6a86c0ae9ac8d3d206d0d14ad627aa35a8
parentf56163295ceb16c32c1d98bc8cb5cecc1a8fdc9d (diff)
downloadmatterbridge-msglm-0a91b9e1c9a7e9fe9e170ddb3d20705f7b3012bc.tar.gz
matterbridge-msglm-0a91b9e1c9a7e9fe9e170ddb3d20705f7b3012bc.tar.bz2
matterbridge-msglm-0a91b9e1c9a7e9fe9e170ddb3d20705f7b3012bc.zip
Fix incorrect forward from text line (telegram)
-rw-r--r--bridge/telegram/telegram.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go
index ab4a0e0c..650eec12 100644
--- a/bridge/telegram/telegram.go
+++ b/bridge/telegram/telegram.go
@@ -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