[gaim-migrate @ 2815]

Tue, 27 Nov 2001 20:50:58 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Tue, 27 Nov 2001 20:50:58 +0000
changeset 2802
52e0ca91e7e0
parent 2801
72fd4f6b6e06
child 2803
ffd6dfe6e869

[gaim-migrate @ 2815]
whoops.

src/conversation.c file | annotate | diff | comparison | revisions
--- 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;

mercurial