Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/presence.c @ 27448:b41b69e8b341
I missed a few presence types.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 06 Jul 2009 04:19:26 +0000 |
parents | 712289e2aa6d |
children | 01927ce552bc e1090ed76286 6d26258e9f1d |
comparison
equal
deleted
inserted
replaced
27447:712289e2aa6d | 27448:b41b69e8b341 |
---|---|
564 /* they are unsubscribing from our presence, we don't care */ | 564 /* they are unsubscribing from our presence, we don't care */ |
565 /* Well, maybe just a little, we might want/need to start | 565 /* Well, maybe just a little, we might want/need to start |
566 * acknowledging this (and the others) at some point. */ | 566 * acknowledging this (and the others) at some point. */ |
567 jabber_id_free(jid); | 567 jabber_id_free(jid); |
568 return; | 568 return; |
569 } else if (g_str_equal(type, "probe")) { | |
570 purple_debug_warning("jabber", "Ignoring presence probe\n"); | |
571 jabber_id_free(jid); | |
572 return; | |
573 } else if (g_str_equal(type, "unavailable")) { | |
574 state = JABBER_BUDDY_STATE_UNAVAILABLE; | |
575 } else if (g_str_equal(type, "unsubscribed")) { | |
576 state = JABBER_BUDDY_STATE_UNKNOWN; | |
569 } else { | 577 } else { |
570 purple_debug_warning("jabber", "Ignoring presence with invalid type " | 578 purple_debug_warning("jabber", "Ignoring presence with invalid type " |
571 "'%s'\n", type); | 579 "'%s'\n", type); |
572 jabber_id_free(jid); | 580 jabber_id_free(jid); |
573 return; | 581 return; |