summaryrefslogtreecommitdiffstats
path: root/bridge/xmpp
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 /bridge/xmpp
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)
Diffstat (limited to 'bridge/xmpp')
-rw-r--r--bridge/xmpp/xmpp.go2
1 files changed, 1 insertions, 1 deletions
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