mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-05-22 20:13:46 -07:00
Merge commit '7ff519ae8cc28bebbd35'
This commit is contained in:
@@ -45,7 +45,7 @@ type Client struct {
|
||||
|
||||
// NewClient creates a new connection to a host given as "hostname" or "hostname:port".
|
||||
// If host is not specified, the DNS SRV should be used to find the host from the domainpart of the JID.
|
||||
// Default the port to 5222.
|
||||
// Default the port to 5222.
|
||||
func NewClient(host, user, passwd string) (*Client, os.Error) {
|
||||
addr := host
|
||||
|
||||
|
||||
Reference in New Issue
Block a user