diff options
author | Wim <wim@42.be> | 2017-04-01 17:44:17 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-04-01 17:44:17 +0200 |
commit | 587ad9f41d0807e2a4d0f045304abe177393b45d (patch) | |
tree | d2b31c6f7da02c52cded2acd31e8c685b976c85b /bridge/mattermost | |
parent | a16ad8bf3b39d99658f306d3c065680c606e4801 (diff) | |
download | matterbridge-msglm-587ad9f41d0807e2a4d0f045304abe177393b45d.tar.gz matterbridge-msglm-587ad9f41d0807e2a4d0f045304abe177393b45d.tar.bz2 matterbridge-msglm-587ad9f41d0807e2a4d0f045304abe177393b45d.zip |
Remove space after nick (mattermost). Closes #142
Diffstat (limited to 'bridge/mattermost')
-rw-r--r-- | bridge/mattermost/mattermost.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go index 126bab43..dec8fcb4 100644 --- a/bridge/mattermost/mattermost.go +++ b/bridge/mattermost/mattermost.go @@ -96,12 +96,7 @@ func (b *Bmattermost) Send(msg config.Message) error { channel := msg.Channel if b.Config.PrefixMessagesWithNick { - /*if IsMarkup(message) { - message = nick + "\n\n" + message - } else { - */ - message = nick + " " + message - //} + message = nick + message } if !b.Config.UseAPI { matterMessage := matterhook.OMessage{IconURL: b.Config.IconURL} |