changeset 11605:f36471a3c258

[gaim-migrate @ 13876] History plugin should no longer speak unless spoken to, or something like that. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 04 Oct 2005 02:01:07 +0000
parents 6be663877350
children 243dd81341a7
files plugins/history.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/history.c	Tue Oct 04 01:40:23 2005 +0000
+++ b/plugins/history.c	Tue Oct 04 02:01:07 2005 +0000
@@ -45,7 +45,8 @@
 	char *header;
 
 	convtype = gaim_conversation_get_type(c);
-	if (convtype == GAIM_CONV_TYPE_IM)
+	gtkconv = GAIM_GTK_CONVERSATION(c);
+	if (convtype == GAIM_CONV_TYPE_IM && g_list_length(gtkconv->convs) < 2)
 	{
 		GSList *buddies;
 		GSList *cur;