cpw.darkrain42.xmpp.bosh: 55b07546: Send initial presence before declaring u...

paul at darkrain42.org paul at darkrain42.org
Tue Feb 10 01:16:00 EST 2009


-----------------------------------------------------------------
Revision: 55b07546945bfbba05a8de4dc94b0198eb1e0009
Ancestor: b3b179b8def361326c66b090679e52804802631e
Author: paul at darkrain42.org
Date: 2009-02-10T06:10:12
Branch: im.pidgin.cpw.darkrain42.xmpp.bosh
URL: http://d.pidgin.im/viewmtn/revision/info/55b07546945bfbba05a8de4dc94b0198eb1e0009

Modified files:
        libpurple/protocols/jabber/roster.c

ChangeLog: 

Send initial presence before declaring us connected (I like this a little better)

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/roster.c	8c7b5275f5e4df3de2725b1e97a8106aa043d980
+++ libpurple/protocols/jabber/roster.c	0aec29f87564518ad67dc503f5de705eae1bc864
@@ -261,8 +261,8 @@ void jabber_roster_parse(JabberStream *j
 	 * send our initial presence */
 	if(!js->roster_parsed) {
 		js->roster_parsed = TRUE;
+		jabber_presence_send(js, TRUE);
 		jabber_stream_set_state(js, JABBER_STREAM_CONNECTED);
-		jabber_presence_send(js, TRUE);
 	}
 }
 


More information about the Commits mailing list