Mercurial > pidgin.yaz
diff src/blist.c @ 11266:a0e769ca84cf
[gaim-migrate @ 13448]
Etan pointed out that we already have a "gaim_buddy_get_contact_alias"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 15 Aug 2005 04:15:11 +0000 |
parents | 74b003b1ba8d |
children | e17f09e77785 |
line wrap: on
line diff
--- 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; }