diff libpurple/protocols/jabber/jabber.c @ 27571:c8390dc125c1

Use js->state to track whether the roster has been retrieved.
author Paul Aurich <paul@darkrain42.org>
date Sun, 07 Jun 2009 05:36:45 +0000
parents 335d737c396e
children 6d26258e9f1d
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Sun Jun 07 00:16:05 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Sun Jun 07 05:36:45 2009 +0000
@@ -1613,7 +1613,8 @@
 
 			break;
 		case JABBER_STREAM_CONNECTED:
-			/* now we can alert the core that we're ready to send status */
+			/* Send initial presence */
+			jabber_presence_send(js, TRUE);
 			purple_connection_set_state(js->gc, PURPLE_CONNECTED);
 			break;
 	}