From: Eric W. <war...@us...> - 2001-11-17 02:50:09
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory usw-pr-cvs1:/tmp/cvs-serv14731/src/protocols/jabber Modified Files: jabber.c Log Message: eh Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- jabber.c 2001/11/06 23:58:23 1.25 +++ jabber.c 2001/11/17 02:50:06 1.26 @@ -773,10 +773,14 @@ } else { /* keep track of away msg same as yahoo plugin */ struct jabber_data *jd = GJ_GC(j)->proto_data; - gpointer val = g_hash_table_lookup(jd->hash, b->name); - if (val) + gpointer val = g_hash_table_lookup(jd->hash, normalize(b->name)); + if (val) { g_free(val); - g_hash_table_insert(jd->hash, g_strdup(b->name), g_strdup(xmlnode_get_tag_data(p->x, "status"))); + g_hash_table_insert(jd->hash, normalize(b->name), + g_strdup(xmlnode_get_tag_data(p->x, "status"))); + } else + g_hash_table_insert(jd->hash, g_strdup(normalize(b->name)), + g_strdup(xmlnode_get_tag_data(p->x, "status"))); if (!resources) { |