changeset 25131:c6ad3932b565

Revert the accidentally committed pseudo-group changes.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 04 Oct 2008 21:46:10 +0000
parents 16734635febf
children 5ace6c024230
files libpurple/protocols/msn/contact.c libpurple/protocols/msn/user.c
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c	Sat Sep 27 06:33:42 2008 +0000
+++ b/libpurple/protocols/msn/contact.c	Sat Oct 04 21:46:10 2008 +0000
@@ -730,7 +730,6 @@
 					  MSN_INDIVIDUALS_GROUP_ID, MSN_INDIVIDUALS_GROUP_NAME);
 	if ((purple_find_group(MSN_INDIVIDUALS_GROUP_NAME)) == NULL){
 		PurpleGroup *g = purple_group_new(MSN_INDIVIDUALS_GROUP_NAME);
-		purple_group_set_is_pseudo(g, TRUE);
 		purple_blist_add_group(g, NULL);
 	}
 
@@ -739,7 +738,6 @@
 	purple_debug_misc("msn", "AB group_id:%s name:%s\n", MSN_NON_IM_GROUP_ID, MSN_NON_IM_GROUP_NAME);
 	if ((purple_find_group(MSN_NON_IM_GROUP_NAME)) == NULL) {
 		PurpleGroup *g = purple_group_new(MSN_NON_IM_GROUP_NAME);
-		purple_group_set_is_pseudo(g, TRUE);
 		purple_blist_add_group(g, NULL);
 	}
 
--- a/libpurple/protocols/msn/user.c	Sat Sep 27 06:33:42 2008 +0000
+++ b/libpurple/protocols/msn/user.c	Sat Oct 04 21:46:10 2008 +0000
@@ -273,11 +273,7 @@
 	if (b == NULL)
 	{
 		b = purple_buddy_new(account, passport, NULL);
-		if (group_id && (!strcmp(group_id, MSN_INDIVIDUALS_GROUP_ID) ||
-					!strcmp(group_id, MSN_NON_IM_GROUP_ID)))
-			purple_blist_add_buddy_pseudo_group(b, NULL, g, NULL);
-		else
-			purple_blist_add_buddy(b, NULL, g, NULL);
+		purple_blist_add_buddy(b, NULL, g, NULL);
 	}
 	b->proto_data = user;
 	/*Update the blist Node info*/