summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bailey <rekkanoryo@rekkanoryo.org>2009-06-19 20:58:44 +0000
committerJohn Bailey <rekkanoryo@rekkanoryo.org>2009-06-19 20:58:44 +0000
commit5f4cd97267299964962281ed4fcffa6b0918f4d6 (patch)
tree132872ac7d503fec86ebca831f890abd3c727011
parent1cfcbd949c4e57c0e71dbbcf57460d7601dc9fe5 (diff)
downloadpidgin-5f4cd97267299964962281ed4fcffa6b0918f4d6.tar.gz
*** 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.
-rw-r--r--libpurple/protocols/yahoo/yahoo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpurple/protocols/yahoo/yahoo.c b/libpurple/protocols/yahoo/yahoo.c
index d34ea9c6f3..d40e865519 100644
--- a/libpurple/protocols/yahoo/yahoo.c
+++ b/libpurple/protocols/yahoo/yahoo.c
@@ -1397,7 +1397,8 @@ static void yahoo_auth16_stage3(PurpleConnection *gc, const char *crypt)
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,