[gaim-migrate @ 13448]

Mon, 15 Aug 2005 04:15:11 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 15 Aug 2005 04:15:11 +0000
changeset 11266
a6807fe0f58d
parent 11265
d5aee59fdb00
child 11267
78f1eb5b3d6e

[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;
 }

mercurial