From 2da7c27d1890024f227b17ec0da560a2a06c84bf Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Wed, 6 Jan 2016 17:08:51 +0100 Subject: [PATCH] Add TODO comment for later fix --- xmpp/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmpp/client.go b/xmpp/client.go index 0b8dc68..aa73b1d 100644 --- a/xmpp/client.go +++ b/xmpp/client.go @@ -79,6 +79,8 @@ func (c *Client) Connect() (*Session, error) { // We're connected and can now receive and send messages. //fmt.Fprintf(client.conn, "%s%s", "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, "") return c.Session, err