changeset 27077:1dcf9c7311f1

Yahoo auth ver 16: Use the current status of the account when logging in. Enables logging as invisible.
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Mon, 01 Jun 2009 07:30:00 +0000
parents 1fcd09c34fee
children 4605fe3c43bb
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	Mon Jun 01 04:02:10 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Mon Jun 01 07:30:00 2009 +0000
@@ -1584,7 +1584,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,