diff options
author | ValdikSS <iam@valdikss.org.ru> | 2018-02-01 19:46:10 +0300 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-01 17:46:10 +0100 |
commit | da908c438a03bb0d575f05cbd42bfd0b3bd304c0 (patch) | |
tree | 9385ac90c13db8feaade1c43b195fee3121933d1 /bridge | |
parent | 9c9c4bf1f9fde0340c130bbca3f14cac47f9e7c8 (diff) | |
download | matterbridge-msglm-da908c438a03bb0d575f05cbd42bfd0b3bd304c0.tar.gz matterbridge-msglm-da908c438a03bb0d575f05cbd42bfd0b3bd304c0.tar.bz2 matterbridge-msglm-da908c438a03bb0d575f05cbd42bfd0b3bd304c0.zip |
Add space between colon and URL for uploaded media (#360)
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/gitter/gitter.go | 2 | ||||
-rw-r--r-- | bridge/irc/irc.go | 2 | ||||
-rw-r--r-- | bridge/sshchat/sshchat.go | 2 | ||||
-rw-r--r-- | bridge/xmpp/xmpp.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go index 53f1b0d8..6b1c2122 100644 --- a/bridge/gitter/gitter.go +++ b/bridge/gitter/gitter.go @@ -125,7 +125,7 @@ func (b *Bgitter) Send(msg config.Message) (string, error) { 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 diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 8e85fa29..f35efd26 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -181,7 +181,7 @@ func (b *Birc) Send(msg config.Message) (string, error) { 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 diff --git a/bridge/sshchat/sshchat.go b/bridge/sshchat/sshchat.go index 7b008fe0..1682b42e 100644 --- a/bridge/sshchat/sshchat.go +++ b/bridge/sshchat/sshchat.go @@ -66,7 +66,7 @@ func (b *Bsshchat) Send(msg config.Message) (string, error) { 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 diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 9c2eb2cc..6cc9413d 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -85,7 +85,7 @@ func (b *Bxmpp) Send(msg config.Message) (string, error) { 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 |