diff libpurple/protocols/novell/novell.c @ 25294:8aa7d8bcbc7d

Alias foo. I think blist.h structs are now completely hidden.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 31 Oct 2008 21:06:26 +0000
parents aa876d48b5b2
children 68265bcc8814
line wrap: on
line diff
--- a/libpurple/protocols/novell/novell.c	Fri Oct 31 20:04:35 2008 +0000
+++ b/libpurple/protocols/novell/novell.c	Fri Oct 31 21:06:26 2008 +0000
@@ -2687,9 +2687,11 @@
 				}
 
 				if (group) {
+					const char *balias;
 					buddy = purple_find_buddy_in_group(user->client_data,
 													 name, group);
-					if (buddy && strcmp(buddy->alias, alias))
+					balias = buddy ? purple_buddy_get_local_buddy_alias(buddy) : NULL;
+					if (balias && strcmp(balias, alias))
 						purple_blist_alias_buddy(buddy, alias);
 				}