cpw.darkrain42.xmpp.bosh: 6ea1275d: Initial presence is sent once the roster...

paul at darkrain42.org paul at darkrain42.org
Tue Feb 10 03:40:32 EST 2009


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

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

ChangeLog: 

Initial presence is sent once the roster is retrieved (in the iq cb).

This call just prints a "Trying to send initial presence before roster" (or
something like that) debug message (which I've wondered about for a bit).

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/disco.c	a8b22921d6a73492d2b9a69e01f99fc9b8b04c54
+++ libpurple/protocols/jabber/disco.c	f205efd382b1b9eed363b127809450b15a116979
@@ -300,9 +300,6 @@ jabber_disco_finish_server_info_result_c
 		jabber_roster_request(js);
 	}
 
-	/* Send initial presence; this will trigger receipt of presence for contacts on the roster */
-	jabber_presence_send(js, TRUE);
-
 	if (js->server_caps & JABBER_CAP_ADHOC) {
 		/* The server supports ad-hoc commands, so let's request the list */
 		jabber_adhoc_server_get_list(js);


More information about the Commits mailing list