# HG changeset patch # User Paul Aurich # Date 1248114373 0 # Node ID cbf7072fb372f85e9262b48df3f203369db9706e # Parent e8ec4a3e6706af54a2bfbd6c1ad9ec85d8c2ed85 Allow fallback for broken XMPP types. Closes #7837. diff -r e8ec4a3e6706 -r cbf7072fb372 libpurple/protocols/jabber/message.c --- a/libpurple/protocols/jabber/message.c Mon Jul 20 18:16:36 2009 +0000 +++ b/libpurple/protocols/jabber/message.c Mon Jul 20 18:26:13 2009 +0000 @@ -790,6 +790,10 @@ handle_buzz(jm); switch(jm->type) { + case JABBER_MESSAGE_OTHER: + purple_debug(PURPLE_DEBUG_INFO, "jabber", + "Received message of unknown type: %s\n", type); + /* Fall-through is intentional */ case JABBER_MESSAGE_NORMAL: case JABBER_MESSAGE_CHAT: handle_chat(jm); @@ -809,10 +813,6 @@ case JABBER_MESSAGE_ERROR: handle_error(jm); break; - case JABBER_MESSAGE_OTHER: - purple_debug(PURPLE_DEBUG_INFO, "jabber", - "Received message of unknown type: %s\n", type); - break; } jabber_message_free(jm); }