changeset 25627:22915096dbb3

*** Plucked rev 3f699c081b38f9d19632fcee1c23cbc96fce3092 (sulabh@soc.pidgin.im): Yahoo auth ver 16: Use the current status of the account when logging in. Enables logging as invisible.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Fri, 19 Jun 2009 20:58:44 +0000
parents 8965e9730987
children 2209f3440538
files libpurple/protocols/yahoo/yahoo.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Fri Jun 19 20:57:03 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Fri Jun 19 20:58:44 2009 +0000
@@ -1397,7 +1397,8 @@
 
 	to_y64(base64_string, md5_digest, 16);
 
-	pkt = yahoo_packet_new(YAHOO_SERVICE_AUTHRESP, YAHOO_STATUS_WEBLOGIN, yd->session_id);
+	purple_debug_info("yahoo", "yahoo status: %d\n", yd->current_status);
+	pkt = yahoo_packet_new(YAHOO_SERVICE_AUTHRESP, yd->current_status, yd->session_id);
 	if(yd->jp) {
 		yahoo_packet_hash(pkt, "ssssssss",
 					1, name,