pidgin: b0f72750: The alias we retrieve from the roster is...
evands at pidgin.im
evands at pidgin.im
Fri Aug 29 10:06:01 EDT 2008
-----------------------------------------------------------------
Revision: b0f72750dd0dc066e8044540e70af0c179625fbc
Ancestor: 7f0fe47bad322958a9d671f61c02d0d7ec65a950
Author: evands at pidgin.im
Date: 2008-08-29T13:59:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b0f72750dd0dc066e8044540e70af0c179625fbc
Modified files:
libpurple/protocols/jabber/roster.c
ChangeLog:
The alias we retrieve from the roster is a private alias; use purple_serv_got_private_alias() to tell the core about it
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/roster.c d36e9b2dff53ec21cc32ae8ea19ffa1a9d18f858
+++ libpurple/protocols/jabber/roster.c a384763565f91ecfa641f97f9ba59f697fa9169a
@@ -83,11 +83,13 @@ static void add_purple_buddies_to_groups
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 {
More information about the Commits
mailing list