comparison libpurple/protocols/jabber/disco.c @ 25791:e9b7e41dc816

A first stab at supporting the upcoming new use-case in XMPP XEP-0012 to provide info on idleness in <presence/> stanzas, which allows to track idle times without polling.
author Marcus Lundblad <ml@update.uu.se>
date Sun, 16 Nov 2008 22:29:00 +0000
parents 10382f1e1353
children 3d4ce9df0d48
comparison
equal deleted inserted replaced
24394:fae699fece1f 25791:e9b7e41dc816
346 /* If the server supports JABBER_CAP_GOOGLE_ROSTER; we will have already requested it */ 346 /* If the server supports JABBER_CAP_GOOGLE_ROSTER; we will have already requested it */
347 jabber_roster_request(js); 347 jabber_roster_request(js);
348 } 348 }
349 349
350 /* Send initial presence; this will trigger receipt of presence for contacts on the roster */ 350 /* Send initial presence; this will trigger receipt of presence for contacts on the roster */
351 jabber_presence_send(js->gc->account, NULL); 351 jabber_presence_send(js->gc->account, NULL, FALSE);
352 352
353 if (js->server_caps & JABBER_CAP_ADHOC) { 353 if (js->server_caps & JABBER_CAP_ADHOC) {
354 /* The server supports ad-hoc commands, so let's request the list */ 354 /* The server supports ad-hoc commands, so let's request the list */
355 jabber_adhoc_server_get_list(js); 355 jabber_adhoc_server_get_list(js);
356 } 356 }