commit 6e82d74232e68caae463f0bb880b824a812d1644
Author: ValdikSS <iam@valdikss.org.ru>
Date: Thu Feb 01 19:46:10 2018 +0000
diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go
index 53f1b0d..6b1c212 100644
--- a/bridge/gitter/gitter.go
+++ b/bridge/gitter/gitter.go
@@ -1257 +1257 @@ 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 8e85fa2..f35efd2 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -1817 +1817 @@ 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 7b008fe..1682b42 100644
--- a/bridge/sshchat/sshchat.go
+++ b/bridge/sshchat/sshchat.go
@@ -667 +667 @@ 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 9c2eb2c..6cc9413 100644
--- a/bridge/xmpp/xmpp.go
+++ b/bridge/xmpp/xmpp.go
@@ -857 +857 @@ 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