pidgin: 77f1c684: Fixes ticket #9685, Use the fact "Status...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Thu Jul 16 10:50:26 EDT 2009


-----------------------------------------------------------------
Revision: 77f1c684f6f76bf4cb002c162b9c96c673b5d550
Ancestor: 13ea852ce32b51825f2eed8e544a06ddd32bf698
Author: sulabh at soc.pidgin.im
Date: 2009-07-16T12:55:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/77f1c684f6f76bf4cb002c162b9c96c673b5d550

Modified files:
        libpurple/protocols/yahoo/yahoochat.c

ChangeLog: 

Fixes ticket #9685, Use the fact "Status is 11 when we are being notified about invitation being sent to someone else"

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoochat.c	c17ab176eebafd1a5f147a791ddf5aada864c737
+++ libpurple/protocols/yahoo/yahoochat.c	dd735680b2d44c7778840f53504744f5b09fa541
@@ -122,8 +122,8 @@ void yahoo_process_conference_invite(Pur
 	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);
 


More information about the Commits mailing list