comparison libpurple/protocols/jabber/disco.c @ 25743:6d6e10476c52

Clean up jabber_presence_send * Split out a version that acts as part of the prpl_info struct from one called internally Fix jabber_caps_broadcast_change * "prpl-jabber" * Don't leak memory * Send a full presence stanza
author Paul Aurich <paul@darkrain42.org>
date Fri, 21 Nov 2008 04:18:19 +0000
parents 4040da08a733
children f462fa160f06
comparison
equal deleted inserted replaced
25742:4040da08a733 25743:6d6e10476c52
296 /* If the server supports JABBER_CAP_GOOGLE_ROSTER; we will have already requested it */ 296 /* If the server supports JABBER_CAP_GOOGLE_ROSTER; we will have already requested it */
297 jabber_roster_request(js); 297 jabber_roster_request(js);
298 } 298 }
299 299
300 /* Send initial presence; this will trigger receipt of presence for contacts on the roster */ 300 /* Send initial presence; this will trigger receipt of presence for contacts on the roster */
301 jabber_presence_send(js->gc->account, NULL); 301 jabber_presence_send(js, TRUE);
302 302
303 if (js->server_caps & JABBER_CAP_ADHOC) { 303 if (js->server_caps & JABBER_CAP_ADHOC) {
304 /* The server supports ad-hoc commands, so let's request the list */ 304 /* The server supports ad-hoc commands, so let's request the list */
305 jabber_adhoc_server_get_list(js); 305 jabber_adhoc_server_get_list(js);
306 } 306 }