Update xmpp vendor

This commit is contained in:
Wim
2016-11-26 14:44:33 +01:00
parent e4ec27c5e2
commit 4ef32103ca
3 changed files with 62 additions and 13 deletions

View File

@@ -25,3 +25,9 @@ func (c *Client) PingS2S(fromServer, toServer string) error {
xmlEscape(fromServer), xmlEscape(toServer))
return err
}
func (c *Client) SendResultPing(id, toServer string) error {
_, err := fmt.Fprintf(c.conn, "<iq type='result' to='%s' id='%s'/>",
xmlEscape(toServer), xmlEscape(id))
return err
}