summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValdikSS <iam@valdikss.org.ru>2018-02-01 19:46:10 +0300
committerWim <wim@42.be>2018-02-01 17:46:10 +0100
commitda908c438a03bb0d575f05cbd42bfd0b3bd304c0 (patch)
tree9385ac90c13db8feaade1c43b195fee3121933d1
parent9c9c4bf1f9fde0340c130bbca3f14cac47f9e7c8 (diff)
downloadmatterbridge-msglm-da908c438a03bb0d575f05cbd42bfd0b3bd304c0.tar.gz
matterbridge-msglm-da908c438a03bb0d575f05cbd42bfd0b3bd304c0.tar.bz2
matterbridge-msglm-da908c438a03bb0d575f05cbd42bfd0b3bd304c0.zip
Add space between colon and URL for uploaded media (#360)
-rw-r--r--bridge/gitter/gitter.go2
-rw-r--r--bridge/irc/irc.go2
-rw-r--r--bridge/sshchat/sshchat.go2
-rw-r--r--bridge/xmpp/xmpp.go2
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