5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-24 18:25:40 +00:00

Remove space after nick (mattermost). Closes #142

This commit is contained in:
Wim 2017-04-01 17:44:17 +02:00
parent a16ad8bf3b
commit 587ad9f41d

View File

@ -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}