diff --git a/xmpp/client.go b/xmpp/client.go index 7d9fda9..6a91211 100644 --- a/xmpp/client.go +++ b/xmpp/client.go @@ -54,6 +54,8 @@ func NewClient(options Options) (c *Client, err error) { return } +// TODO Pass JID to be able to add default address based on JID, if +// addr is empty func checkAddress(addr string) (string, error) { var err error hostport := strings.Split(addr, ":")