diff libpurple/protocols/jabber/chat.c @ 28756:08ffa726aea2

jabber: Remove useless jabber_normalize calls now that the data in the hash table is normalized.
author Paul Aurich <paul@darkrain42.org>
date Thu, 15 Oct 2009 16:25:09 +0000
parents ef513141e960
children 41992511531f
line wrap: on
line diff
--- a/libpurple/protocols/jabber/chat.c	Thu Oct 15 16:13:57 2009 +0000
+++ b/libpurple/protocols/jabber/chat.c	Thu Oct 15 16:25:09 2009 +0000
@@ -106,7 +106,7 @@
 	{
 		char *room_jid = g_strdup_printf("%s@%s", room, server);
 
-		chat = g_hash_table_lookup(js->chats, jabber_normalize(NULL, room_jid));
+		chat = g_hash_table_lookup(js->chats, room_jid);
 		g_free(room_jid);
 	}
 
@@ -373,7 +373,7 @@
 	JabberStream *js = chat->js;
 	char *room_jid = g_strdup_printf("%s@%s", chat->room, chat->server);
 
-	g_hash_table_remove(js->chats, jabber_normalize(NULL, room_jid));
+	g_hash_table_remove(js->chats, room_jid);
 	g_free(room_jid);
 }