# HG changeset patch # User Mark Doliner # Date 1124079311 0 # Node ID a0e769ca84cf1ef2ec092f58cb3ed3df777123ba # Parent adf36001267b8972c2413949088967fa659d2295 [gaim-migrate @ 13448] Etan pointed out that we already have a "gaim_buddy_get_contact_alias" committer: Tailor Script diff -r adf36001267b -r a0e769ca84cf src/blist.c --- a/src/blist.c Mon Aug 15 03:53:15 2005 +0000 +++ b/src/blist.c Mon Aug 15 04:15:11 2005 +0000 @@ -1938,15 +1938,10 @@ if (buddy->alias != NULL) return buddy->alias; - /* The server alias, if preferences say so */ + /* The server alias */ if ((buddy->server_alias) && (*buddy->server_alias)) return buddy->server_alias; - /* The contact alias */ - c = gaim_buddy_get_contact(buddy); - if ((c != NULL) && (c->alias != NULL)) - return c->alias; - /* The buddy's user name (i.e. no alias) */ return buddy->name; }