changeset 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 adf36001267b
children 477e5cca8287
files src/blist.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
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;
 }