diff libpurple/protocols/jabber/disco.c @ 18124:f88c2a41200d

fix inital presence (fixes #1395)
author Nathan Walp <nwalp@pidgin.im>
date Sun, 17 Jun 2007 04:50:18 +0000
parents 3d7129ac1de9
children 7f23135d9b68
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c	Sun Jun 17 04:44:03 2007 +0000
+++ b/libpurple/protocols/jabber/disco.c	Sun Jun 17 04:50:18 2007 +0000
@@ -226,10 +226,7 @@
 		jabber_roster_request(js);
 	}
 
-	/* Send initial presence; this will trigger receipt of presence for contacts on the roster */
-	gpresence = purple_account_get_presence(js->gc->account);
-	status = purple_presence_get_active_status(gpresence);
-	jabber_presence_send(js->gc->account, status);
+	/* when we get the roster back, we'll send our initial presence */
 }
 
 static void