# HG changeset patch # User Chris Jones # Date 1378696709 -3600 # Node ID 065f54e291c716c84371db9e7a6a6001913611fa # Parent c94a7ce0f4fbe96b9d61a75de51df9e76d86b224 Doc update. diff -r c94a7ce0f4fb -r 065f54e291c7 xmpp/xmpp.go --- a/xmpp/xmpp.go Mon Sep 09 04:17:06 2013 +0100 +++ b/xmpp/xmpp.go Mon Sep 09 04:18:29 2013 +0100 @@ -99,8 +99,9 @@ // with the given password. This function will return as soon as a TCP // connection has been established, but before XMPP stream negotiation // has completed. The negotiation will occur asynchronously, and any -// send operation to Client.Out will block until negotiation (resource -// binding) is complete. +// send operation to Client.Send will block until negotiation +// (resource binding) is complete. The caller must immediately start +// reading from Client.Recv. func NewClient(jid *JID, password string, tlsconf tls.Config, exts []Extension) (*Client, error) { // Include the mandatory extensions. roster := newRosterExt()