diff src/dialogs.c @ 4775:92ae181271e9

[gaim-migrate @ 5095] This fixes a bug when adding a jabber dude to a new group, I think. I dunno, it might fix some other stuff. If Gaim were any less inanimate I would try to sleep with it so bad it's not even funny. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 14 Mar 2003 17:06:00 +0000
parents e870e313be96
children 85c6c3a60503
line wrap: on
line diff
--- a/src/dialogs.c	Fri Mar 14 16:18:51 2003 +0000
+++ b/src/dialogs.c	Fri Mar 14 17:06:00 2003 +0000
@@ -885,8 +885,10 @@
 		whoalias = gtk_entry_get_text(GTK_ENTRY(a->entry_for_alias));
 
 		c = gaim_find_conversation(who);
-		if (!(g = gaim_find_group(grp)))
+		if (!(g = gaim_find_group(grp))) {
 			g = gaim_group_new(grp);
+			gaim_blist_add_group(g, NULL);
+		}
 		b = gaim_buddy_new(a->gc->account, who, whoalias);
 		gaim_blist_add_buddy(b, g, NULL);
 		serv_add_buddy(a->gc, who);