# HG changeset patch # User Evan Schoenberg # Date 1220018399 0 # Node ID 5e51360bb22cdec8af8765629f9bdc8308fab955 # Parent e7d85f4fb3fc7e6fef2fa5934d4623745932bed2 The alias we retrieve from the roster is a private alias; use purple_serv_got_private_alias() to tell the core about it diff -r e7d85f4fb3fc -r 5e51360bb22c libpurple/protocols/jabber/roster.c --- a/libpurple/protocols/jabber/roster.c Fri Aug 29 11:23:31 2008 +0000 +++ b/libpurple/protocols/jabber/roster.c Fri Aug 29 13:59:59 2008 +0000 @@ -83,11 +83,13 @@ if((l = g_slist_find_custom(g2, g->name, (GCompareFunc)strcmp))) { const char *servernick; + /* Previously stored serverside / buddy-supplied alias */ if((servernick = purple_blist_node_get_string((PurpleBlistNode*)b, "servernick"))) serv_got_alias(js->gc, jid, servernick); + /* Alias from our roster retrieval */ if(alias && (!b->alias || strcmp(b->alias, alias))) - purple_blist_alias_buddy(b, alias); + purple_serv_got_private_alias(js->gc, jid, alias); g_free(l->data); g2 = g_slist_delete_link(g2, l); } else {