sadrul.struct.hiding: 4235f268: Revert the accidentally committed pseudo...

sadrul at pidgin.im sadrul at pidgin.im
Fri Oct 31 04:51:42 EDT 2008


-----------------------------------------------------------------
Revision: 4235f268e41a5ad75efa1010b697599c0c0dd28a
Ancestor: d028451473728aac547fbc502b5453d27d035bc9
Author: sadrul at pidgin.im
Date: 2008-10-04T21:46:10
Branch: im.pidgin.sadrul.struct.hiding
URL: http://d.pidgin.im/viewmtn/revision/info/4235f268e41a5ad75efa1010b697599c0c0dd28a

Modified files:
        libpurple/protocols/msn/contact.c
        libpurple/protocols/msn/user.c

ChangeLog: 

Revert the accidentally committed pseudo-group changes.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/contact.c	ce8c32f3da2f352ee0e8a434d804056f19054751
+++ libpurple/protocols/msn/contact.c	74dcd9e76be5e13e3846fade00d5230d33262151
@@ -730,7 +730,6 @@ msn_parse_addressbook(MsnSession *sessio
 					  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 @@ msn_parse_addressbook(MsnSession *sessio
 	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);
 	}
 
============================================================
--- libpurple/protocols/msn/user.c	1cbb88b5580340c97a21aa798767b57daee1367b
+++ libpurple/protocols/msn/user.c	6400e7b9b6da1e86d19f1884a1a0775dd5ba8315
@@ -273,11 +273,7 @@ msn_user_add_group_id(MsnUser *user, con
 	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*/


More information about the Commits mailing list