mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-21 01:52:01 -08:00
Add TODO comment for later fix
This commit is contained in:
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…
Reference in New Issue
Block a user