soc.2008.yahoo: e38e601e: Start idle at 1 min not 0 min and Probab...
sulabh at soc.pidgin.im
sulabh at soc.pidgin.im
Sun Jun 8 17:15:47 EDT 2008
-----------------------------------------------------------------
Revision: e38e601e6b8bb70a28b5659469f2f5b397c8fa99
Ancestor: 4e380dca24cddca46f3fa2270a9a210a5f37ceed
Author: sulabh at soc.pidgin.im
Date: 2008-06-08T21:08:48
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/e38e601e6b8bb70a28b5659469f2f5b397c8fa99
Modified files:
libpurple/protocols/yahoo/yahoo.c
libpurple/protocols/yahoo/yahoo_packet.h
ChangeLog:
Start idle at 1 min not 0 min and Probable description of service 0x07d1.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c 2d7584e31f9e4f9ca0fe4412edd94cb7b143ddd3
+++ libpurple/protocols/yahoo/yahoo.c 180c4f1222d2a3c3b9eeff302bad33241f440054
@@ -215,7 +215,7 @@ static void yahoo_process_status(PurpleC
if (f->status == YAHOO_STATUS_IDLE) {
/* Idle may have already been set in a more precise way in case 137 */
if (f->idle == 0)
- f->idle = time(NULL);
+ f->idle = time(NULL) - 60; /*Start idle at 1 min*/
} else
f->idle = 0;
============================================================
--- libpurple/protocols/yahoo/yahoo_packet.h abec35d630d7835cd52c98b0bf9a33726eb71dc2
+++ libpurple/protocols/yahoo/yahoo_packet.h 6343ec52f020c7e1d8266b6ae808c528ec9004cd
@@ -109,7 +109,7 @@ enum yahoo_service { /* these are easier
YAHOO_SERVICE_LIST_15 = 0xf1,
YAHOO_SERVICE_WEBLOGIN = 0x0226,
YAHOO_SERVICE_SMS_MSG = 0x02ea
- /*YAHOO_SERVICE_DISCONNECT = 0x07d1 Sent by server asking us to disconnect*/
+ /*YAHOO_SERVICE_DISCONNECT = 0x07d1 Server forces us to disconnect. Is sent with TCP FIN flag set*/
};
struct yahoo_pair {
More information about the Commits
mailing list