changeset 2802:f7375f78d0f9

[gaim-migrate @ 2815] whoops. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 27 Nov 2001 20:50:58 +0000
parents 04f97d65bdc1
children e967c0d93930
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Tue Nov 27 16:46:11 2001 +0000
+++ b/src/conversation.c	Tue Nov 27 20:50:58 2001 +0000
@@ -360,7 +360,8 @@
 	FILE *f;
 	if (file_is_dir(filename, wid))
 		return;
-	if (g_list_find(conversations, c))
+	if ((!c->is_chat && g_list_find(conversations, c)) ||
+	    (c->is_chat && g_slist_find(connections, c->gc) && g_slist_find(c->gc->buddy_chats, c)))
 		filename = g_strdup(filename);
 	else
 		filename = NULL;