Add TODO comment for later fix

disco_info_form
Mickael Remond 8 years ago
parent c5732bbf1a
commit 2da7c27d18

@ -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

Loading…
Cancel
Save