mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 18:40:25 +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
|
channel := msg.Channel
|
||||||
|
|
||||||
if b.Config.PrefixMessagesWithNick {
|
if b.Config.PrefixMessagesWithNick {
|
||||||
/*if IsMarkup(message) {
|
message = nick + message
|
||||||
message = nick + "\n\n" + message
|
|
||||||
} else {
|
|
||||||
*/
|
|
||||||
message = nick + " " + message
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
if !b.Config.UseAPI {
|
if !b.Config.UseAPI {
|
||||||
matterMessage := matterhook.OMessage{IconURL: b.Config.IconURL}
|
matterMessage := matterhook.OMessage{IconURL: b.Config.IconURL}
|
||||||
|
Loading…
Reference in New Issue
Block a user