forked from jshiffer/go-xmpp
commit
e015f92cdf
@ -90,7 +90,8 @@ func (c *Client) JoinProtectedMUC(jid, nick string, password string, history_typ
|
|||||||
case NoHistory:
|
case NoHistory:
|
||||||
return fmt.Fprintf(c.conn, "<presence to='%s/%s'>\n" +
|
return fmt.Fprintf(c.conn, "<presence to='%s/%s'>\n" +
|
||||||
"<x xmlns='%s'>\n" +
|
"<x xmlns='%s'>\n" +
|
||||||
"<password>%s</password>\n"+
|
"<password>%s</password>" +
|
||||||
|
"</x>\n" +
|
||||||
"</presence>",
|
"</presence>",
|
||||||
xmlEscape(jid), xmlEscape(nick), nsMUC, xmlEscape(password))
|
xmlEscape(jid), xmlEscape(nick), nsMUC, xmlEscape(password))
|
||||||
case CharHistory:
|
case CharHistory:
|
||||||
|
Loading…
Reference in New Issue
Block a user