summaryrefslogtreecommitdiffstats
path: root/bridge/telegram/telegram.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-03-17 18:02:00 +0100
committerWim <wim@42.be>2018-03-17 18:02:00 +0100
commit062be8d7c90ecec293342cf192bed28a6c654906 (patch)
treee490b20471588c32613d1358af9fbbee72b25220 /bridge/telegram/telegram.go
parentdb25ee59c5c9a46feed526133bea6b296256a960 (diff)
downloadmatterbridge-msglm-062be8d7c90ecec293342cf192bed28a6c654906.tar.gz
matterbridge-msglm-062be8d7c90ecec293342cf192bed28a6c654906.tar.bz2
matterbridge-msglm-062be8d7c90ecec293342cf192bed28a6c654906.zip
Revert #378
Diffstat (limited to 'bridge/telegram/telegram.go')
-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 967a316b..bb3326b6 100644
--- a/bridge/telegram/telegram.go
+++ b/bridge/telegram/telegram.go
@@ -385,7 +385,6 @@ func (b *Btelegram) sendMessage(chatid int64, username, text string) (string, er
m.Text = username + text
if b.GetString("MessageFormat") == "HTML" {
b.Log.Debug("Using mode HTML")
- username = html.EscapeString(username)
m.Text = username + text
m.ParseMode = tgbotapi.ModeHTML
}