Mercurial > pidgin
comparison libpurple/protocols/jabber/roster.c @ 25198: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 | fae699fece1f |
children | 3d4ce9df0d48 |
comparison
equal
deleted
inserted
replaced
24451:fae699fece1f | 25198:e9b7e41dc816 |
---|---|
259 /* if we're just now parsing the roster for the first time, | 259 /* if we're just now parsing the roster for the first time, |
260 * then now would be the time to send our initial presence */ | 260 * then now would be the time to send our initial presence */ |
261 if(!js->roster_parsed) { | 261 if(!js->roster_parsed) { |
262 js->roster_parsed = TRUE; | 262 js->roster_parsed = TRUE; |
263 | 263 |
264 jabber_presence_send(js->gc->account, NULL); | 264 jabber_presence_send(js->gc->account, NULL, FALSE); |
265 } | 265 } |
266 } | 266 } |
267 | 267 |
268 static void jabber_roster_update(JabberStream *js, const char *name, | 268 static void jabber_roster_update(JabberStream *js, const char *name, |
269 GSList *grps) | 269 GSList *grps) |