changeset 13921:dc4db4925249

[gaim-migrate @ 16434] A group is a chat's parent, not a chat's grandparent. (Thanks, Sadrul). committer: Tailor Script <tailor@pidgin.im>
author Aaron Sheldon <aaronsheldon>
date Thu, 06 Jul 2006 00:32:38 +0000
parents 73cd68ae7c43
children 5750bdb4f778
files src/gtkblist.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Wed Jul 05 17:41:37 2006 +0000
+++ b/src/gtkblist.c	Thu Jul 06 00:32:38 2006 +0000
@@ -4110,9 +4110,9 @@
 
 	if (GAIM_BLIST_NODE_IS_GROUP(node))
 		gnode = node;
-	else if (GAIM_BLIST_NODE_IS_BUDDY(node) || GAIM_BLIST_NODE_IS_CHAT(node))
+	else if (GAIM_BLIST_NODE_IS_BUDDY(node))
 		gnode = node->parent->parent;
-	else if (GAIM_BLIST_NODE_IS_CONTACT(node))
+	else if (GAIM_BLIST_NODE_IS_CONTACT(node) || GAIM_BLIST_NODE_IS_CHAT(node))
 		gnode = node->parent;
 	else
 		return;