summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattn/go-xmpp/xmpp_muc.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-11-08 23:04:23 +0100
committerWim <wim@42.be>2017-11-08 23:04:23 +0100
commit639f9cf96639db27bc0cf5ea11d44e1ecb46f56d (patch)
treeaed1d76d4790687e6db00175dec660eb4bf6cc54 /vendor/github.com/mattn/go-xmpp/xmpp_muc.go
parent4fc48b5aa46d3f89a5f57c4ccea75c74aca6f97a (diff)
downloadmatterbridge-msglm-639f9cf96639db27bc0cf5ea11d44e1ecb46f56d.tar.gz
matterbridge-msglm-639f9cf96639db27bc0cf5ea11d44e1ecb46f56d.tar.bz2
matterbridge-msglm-639f9cf96639db27bc0cf5ea11d44e1ecb46f56d.zip
Update vendor/github.com/mattn/go-xmpp
Diffstat (limited to 'vendor/github.com/mattn/go-xmpp/xmpp_muc.go')
-rw-r--r--vendor/github.com/mattn/go-xmpp/xmpp_muc.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/mattn/go-xmpp/xmpp_muc.go b/vendor/github.com/mattn/go-xmpp/xmpp_muc.go
index f88f1b67..7b50c128 100644
--- a/vendor/github.com/mattn/go-xmpp/xmpp_muc.go
+++ b/vendor/github.com/mattn/go-xmpp/xmpp_muc.go
@@ -90,7 +90,8 @@ func (c *Client) JoinProtectedMUC(jid, nick string, password string, history_typ
case NoHistory:
return fmt.Fprintf(c.conn, "<presence to='%s/%s'>\n" +
"<x xmlns='%s'>\n" +
- "<password>%s</password>\n"+
+ "<password>%s</password>" +
+ "</x>\n" +
"</presence>",
xmlEscape(jid), xmlEscape(nick), nsMUC, xmlEscape(password))
case CharHistory: