diff src/server.c @ 9381:f1fd56e83567

[gaim-migrate @ 10189] Felipe Contreras fixed some bugs with our changes to the add_buddies prpl thingy. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 24 Jun 2004 22:22:22 +0000
parents 3313eab5033d
children 28280c108cc4
line wrap: on
line diff
--- a/src/server.c	Thu Jun 24 22:09:22 2004 +0000
+++ b/src/server.c	Thu Jun 24 22:22:22 2004 +0000
@@ -413,7 +413,7 @@
 		/* Make a list of what the groups each buddy is in */
 		for (cur = buddies; cur != NULL; cur = cur->next) {
 			GaimBlistNode *node = cur->data;
-			groups = g_list_append(groups, node->parent);
+			groups = g_list_append(groups, node->parent->parent);
 		}
 
 		if (prpl_info->add_buddies)
@@ -580,7 +580,7 @@
 			/* Make a list of what the groups each buddy is in */
 			for (cur = moved_buddies; cur != NULL; cur = cur->next) {
 				GaimBlistNode *node = cur->data;
-				groups = g_list_append(groups, node->parent);
+				groups = g_list_append(groups, node->parent->parent);
 			}
 
 			serv_remove_buddies(gc, moved_buddies, groups);