Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/oscar.c @ 25294:8aa7d8bcbc7d
Alias foo. I think blist.h structs are now completely hidden.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 21:06:26 +0000 |
parents | 8d562557ed6f |
children | 051c29d275de |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Fri Oct 31 20:04:35 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.c Fri Oct 31 21:06:26 2008 +0000 @@ -5049,13 +5049,15 @@ /* If the buddy is an ICQ user then load his nickname */ const char *servernick = purple_blist_node_get_string((PurpleBlistNode*)b, "servernick"); char *alias; + const char *balias; if (servernick) serv_got_alias(gc, bname, servernick); /* Store local alias on server */ alias = aim_ssi_getalias(od->ssi.local, gname, bname); - if (!alias && b->alias && strlen(b->alias)) - aim_ssi_aliasbuddy(od, gname, bname, b->alias); + balias = purple_buddy_get_local_buddy_alias(b); + if (!alias && balias && *balias) + aim_ssi_aliasbuddy(od, gname, bname, balias); g_free(alias); } else { purple_debug_info("oscar",