diff libpurple/protocols/jabber/buddy.c @ 26956:eeee4309d3d8

Support custom smileys in MUCs (when all participants support BoB and a maximum of 10 participants are in the chat). Always announce support for BoB, since disable custom smileys will still turn off fetching them, and BoB can be used for other purposes further on.
author Marcus Lundblad <ml@update.uu.se>
date Wed, 13 May 2009 20:29:03 +0000
parents 1ef01afd08bc
children ed5aec1cff44 2dfb639b4f26
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Wed May 13 18:13:03 2009 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Wed May 13 20:29:03 2009 +0000
@@ -74,7 +74,7 @@
 	if (js->buddies == NULL)
 		return NULL;
 
-	if(!(realname = jabber_normalize(js->gc->account, name)))
+	if(!(realname = jabber_get_bare_jid(name)))
 		return NULL;
 
 	jb = g_hash_table_lookup(js->buddies, realname);