changeset 4388:bf6ac19d0d63

[gaim-migrate @ 4654] remember to take buddies out of the edit tree when their account goes offline committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 22 Jan 2003 07:32:18 +0000
parents a3fd5fe57a0b
children e23a59b62700
files src/multi.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Wed Jan 22 06:29:45 2003 +0000
+++ b/src/multi.c	Wed Jan 22 07:32:18 2003 +0000
@@ -1446,6 +1446,10 @@
 	debug_printf("Disconnecting. user = %p, gc = %p (%p)\n",
 				 gc->user, gc->user->gc, gc);
 	gc->user->gc = NULL;	/* wasn't that awkward? */
+
+	/* take these buddies out of the edit tree */
+	build_edit_tree();
+
 	if (!acctedit)
 		return;