mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-10 03:10:26 +00:00
Remove space after nick (mattermost). Closes #142
This commit is contained in:
parent
a16ad8bf3b
commit
587ad9f41d
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user