summaryrefslogtreecommitdiffstats
path: root/bridge/matrix/matrix.go
diff options
context:
space:
mode:
authorDavid Hill <dhill@mindcry.org>2019-01-09 22:15:26 +0000
committerWim <wim@42.be>2019-01-09 23:15:26 +0100
commitf88c5f6c08fa549c8d98691db377f054f9b76833 (patch)
treed9a26180ab91230178cc415730b6556788fba9e0 /bridge/matrix/matrix.go
parentda6ce791bc6ca3f2fb6e8bd8f9def06d401cb16b (diff)
downloadmatterbridge-msglm-f88c5f6c08fa549c8d98691db377f054f9b76833.tar.gz
matterbridge-msglm-f88c5f6c08fa549c8d98691db377f054f9b76833.tar.bz2
matterbridge-msglm-f88c5f6c08fa549c8d98691db377f054f9b76833.zip
Fix displaying usernames for plain text clients. (matrix) (#685)
Diffstat (limited to 'bridge/matrix/matrix.go')
-rw-r--r--bridge/matrix/matrix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/matrix/matrix.go b/bridge/matrix/matrix.go
index 12f50e8d..45f26c71 100644
--- a/bridge/matrix/matrix.go
+++ b/bridge/matrix/matrix.go
@@ -114,7 +114,7 @@ func (b *Bmatrix) Send(msg config.Message) (string, error) {
// matrix has no editing support
// Post normal message with HTML support (eg riot.im)
- resp, err := b.mc.SendHTML(channel, msg.Text, html.EscapeString(msg.Username)+helper.ParseMarkdown(msg.Text))
+ resp, err := b.mc.SendHTML(channel, msg.Username+msg.Text, html.EscapeString(msg.Username)+helper.ParseMarkdown(msg.Text))
if err != nil {
return "", err
}