# HG changeset patch # User Daniel Atallah # Date 1191969584 0 # Node ID 01db1626555340fd1cb88bf72366fed3acf0bc2b # Parent 05f525c8f192108aa7cc42d84848043af9d7883d Fully comment out some disabled code to prevent CID 180. diff -r 05f525c8f192 -r 01db16265553 libpurple/protocols/jabber/chat.c --- a/libpurple/protocols/jabber/chat.c Tue Oct 09 21:27:29 2007 +0000 +++ b/libpurple/protocols/jabber/chat.c Tue Oct 09 22:39:44 2007 +0000 @@ -964,7 +964,7 @@ static void jabber_chat_disco_traffic_cb(JabberStream *js, xmlnode *packet, gpointer data) { JabberChat *chat; - xmlnode *query; + /*xmlnode *query;*/ int id = GPOINTER_TO_INT(data); if(!(chat = jabber_chat_find_by_id(js, id))) @@ -974,6 +974,8 @@ * support this request */ chat->xhtml = TRUE; + /* disabling this until more MUC servers support + * announcing this if(xmlnode_get_child(packet, "error")) { return; } @@ -981,8 +983,6 @@ if(!(query = xmlnode_get_child(packet, "query"))) return; - /* disabling this until more MUC servers support - * announcing this chat->xhtml = FALSE; for(x = xmlnode_get_child(query, "feature"); x; x = xmlnode_get_next_twin(x)) {