Add TODO comment

This commit is contained in:
Mickael Remond 2017-10-04 16:39:34 -04:00
parent d4f193a1bd
commit cb388cd89e
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -54,6 +54,8 @@ func NewClient(options Options) (c *Client, err error) {
return return
} }
// TODO Pass JID to be able to add default address based on JID, if
// addr is empty
func checkAddress(addr string) (string, error) { func checkAddress(addr string) (string, error) {
var err error var err error
hostport := strings.Split(addr, ":") hostport := strings.Split(addr, ":")