# HG changeset patch # User Sadrul Habib Chowdhury # Date 1245170691 0 # Node ID bd84462b0e173b2420017ffd8d95033feca5ebf2 # Parent 38c4973b5222e1b9876628763d5176f7d73280a9 Do not blurt out the history if there's already a conversation open. diff -r 38c4973b5222 -r bd84462b0e17 finch/plugins/gnthistory.c --- a/finch/plugins/gnthistory.c Mon Jun 15 21:43:25 2009 +0000 +++ b/finch/plugins/gnthistory.c Tue Jun 16 16:44:51 2009 +0000 @@ -31,6 +31,7 @@ #include "util.h" #include "version.h" +#include "gntconv.h" #include "gntplugin.h" #include "gntrequest.h" @@ -54,6 +55,9 @@ if (convtype == PURPLE_CONV_TYPE_IM) { GSList *buddies; GSList *cur; + FinchConv *fc = FINCH_CONV(c); + if (fc->list && fc->list->next) /* We were already in the middle of a conversation. */ + return; /* If we're not logging, don't show anything. * Otherwise, we might show a very old log. */