# HG changeset patch # User Paul Aurich # Date 1246853966 0 # Node ID b41b69e8b341ead4fe594a1009040293cf49d27f # Parent 712289e2aa6d07c627f32fddeb69b1b2522f3fc8 I missed a few presence types. diff -r 712289e2aa6d -r b41b69e8b341 libpurple/protocols/jabber/presence.c --- a/libpurple/protocols/jabber/presence.c Mon Jul 06 03:45:57 2009 +0000 +++ b/libpurple/protocols/jabber/presence.c Mon Jul 06 04:19:26 2009 +0000 @@ -566,6 +566,14 @@ * acknowledging this (and the others) at some point. */ jabber_id_free(jid); return; + } else if (g_str_equal(type, "probe")) { + purple_debug_warning("jabber", "Ignoring presence probe\n"); + jabber_id_free(jid); + return; + } else if (g_str_equal(type, "unavailable")) { + state = JABBER_BUDDY_STATE_UNAVAILABLE; + } else if (g_str_equal(type, "unsubscribed")) { + state = JABBER_BUDDY_STATE_UNKNOWN; } else { purple_debug_warning("jabber", "Ignoring presence with invalid type " "'%s'\n", type);