changeset 9576:1a9157d70ec0

[gaim-migrate @ 10419] [01:36] <grim> marv: i'm going to clean up that last patch.. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 22 Jul 2004 06:47:11 +0000
parents d39eecc24a59
children 4c36ffbdbf8d
files src/protocols/yahoo/yahoochat.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoochat.c	Thu Jul 22 06:22:36 2004 +0000
+++ b/src/protocols/yahoo/yahoochat.c	Thu Jul 22 06:47:11 2004 +0000
@@ -186,11 +186,8 @@
 	}
 
 	if (who && room) {
-		GaimConversation *conv;
-
-		conv = gaim_find_conversation_with_account(room, gc->account);
 		/* make sure we're in the room before we process a decline message for it */
-		if(conv && gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) {
+		if(yahoo_find_conference(gc, room)) {
 			char *tmp;
 
 			tmp = g_strdup_printf(_("%s declined your conference invitation to room \"%s\" because \"%s\"."),