Add TODO comment for later fix

This commit is contained in:
Mickael Remond 2016-01-06 17:08:51 +01:00
parent c5732bbf1a
commit 2da7c27d18

View file

@ -79,6 +79,8 @@ func (c *Client) Connect() (*Session, error) {
// We're connected and can now receive and send messages.
//fmt.Fprintf(client.conn, "<presence xml:lang='en'><show>%s</show><status>%s</status></presence>", "chat", "Online")
// TODO: Do we always want to send initial presence automatically ?
// Do we need an option to avoid that or do we rely on client to send the presence itself ?
fmt.Fprintf(c.Session.socketProxy, "<presence/>")
return c.Session, err