mirror of
				https://github.com/FluuxIO/go-xmpp.git
				synced 2025-11-03 16:53:44 -08:00 
			
		
		
		
	Add TODO comment for later fix
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user