From 587ad9f41d0807e2a4d0f045304abe177393b45d Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 1 Apr 2017 17:44:17 +0200 Subject: [PATCH] Remove space after nick (mattermost). Closes #142 --- bridge/mattermost/mattermost.go | 7 +------ 1 file changed, 1 insertion(+), 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}