diff src/conversation.c @ 2270:d82efea341ef

[gaim-migrate @ 2280] new libfaim. stupid bugs. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 12 Sep 2001 00:39:51 +0000
parents 837aa71710c5
children f5bf315e6104
line wrap: on
line diff
--- a/src/conversation.c	Tue Sep 11 21:05:16 2001 +0000
+++ b/src/conversation.c	Wed Sep 12 00:39:51 2001 +0000
@@ -1322,7 +1322,10 @@
 	char buf2[BUF_LONG];
 	char mdate[64];
 
-	if (!g_list_find(conversations, c))
+	if (!c->is_chat && !g_list_find(conversations, c))
+		return;
+
+	if (c->is_chat && (!c->gc || !g_slist_find(c->gc->buddy_chats, c)))
 		return;
 
 	strftime(mdate, sizeof(mdate), "%H:%M:%S", localtime(&mtime));