changeset 27652:a0ea1bcfa1c4

Fixes ticket #9685, Use the fact "Status is 11 when we are being notified about invitation being sent to someone else"
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Thu, 16 Jul 2009 12:55:06 +0000
parents 307f346eefa2
children 7c055118a010
files libpurple/protocols/yahoo/yahoochat.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoochat.c	Thu Jul 16 05:46:43 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoochat.c	Thu Jul 16 12:55:06 2009 +0000
@@ -122,8 +122,8 @@
 	GString *members = NULL;
 	GHashTable *components;
 
-	if (pkt->status == 2)
-		return; /* XXX */
+	if ( (pkt->status == 2) || (pkt->status == 11) )
+		return; /* Status is 11 when we are being notified about invitation being sent to someone else */
 
 	account = purple_connection_get_account(gc);