summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-04-01 17:44:17 +0200
committerWim <wim@42.be>2017-04-01 17:44:17 +0200
commit587ad9f41d0807e2a4d0f045304abe177393b45d (patch)
treed2b31c6f7da02c52cded2acd31e8c685b976c85b /bridge
parenta16ad8bf3b39d99658f306d3c065680c606e4801 (diff)
downloadmatterbridge-msglm-587ad9f41d0807e2a4d0f045304abe177393b45d.tar.gz
matterbridge-msglm-587ad9f41d0807e2a4d0f045304abe177393b45d.tar.bz2
matterbridge-msglm-587ad9f41d0807e2a4d0f045304abe177393b45d.zip
Remove space after nick (mattermost). Closes #142
Diffstat (limited to 'bridge')
-rw-r--r--bridge/mattermost/mattermost.go7
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}