Mon, 15 Aug 2005 04:15:11 +0000
[gaim-migrate @ 13448]
Etan pointed out that we already have a "gaim_buddy_get_contact_alias"
| src/blist.c | file | annotate | diff | comparison | revisions |
--- 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; }