Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 7753b9c1eaf5836686ef1bfabe348c136986a7f6 Author: Wim <wim@42.be> Date: Sun Apr 19 16:45:53 2020 +0000 Add extra space before colon in attachments (irc). Fixes #1089 (#1101) diff --git a/bridge/irc/handlers.go b/bridge/irc/handlers.go index 8f0acaa..9b43513 100644 --- a/bridge/irc/handlers.go +++ b/bridge/irc/handlers.go @@ -5412 +5412 @@ func (b *Birc) handleFiles(msg *config.Message) bool {   for _, f := range msg.Extra["file"] {   fi := f.(config.FileInfo)   if fi.Comment != "" { - msg.Text += fi.Comment + ": " + msg.Text += fi.Comment + " : "   }   if fi.URL != "" {   msg.Text = fi.URL   if fi.Comment != "" { - msg.Text = fi.Comment + ": " + fi.URL + msg.Text = fi.Comment + " : " + fi.URL   }   }   b.Local <- config.Message{Text: msg.Text, Username: msg.Username, Channel: msg.Channel, Event: msg.Event}