Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/yahoo.h @ 24102:b5210bb72273
Only send a yahoo ping once an hour. The server doesn't like it when send it
every 30 seconds.
We also send a keepalive every 60 seconds or so like the native client does.
I think this fixes #7161
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 23 Sep 2008 02:50:36 +0000 |
parents | 18a1f0fe5f40 |
children | 0a25d4ed981b 9e0458c98b4c d477b5b53660 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.h Mon Sep 22 05:30:16 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.h Tue Sep 23 02:50:36 2008 +0000 @@ -176,6 +176,8 @@ * the server expects us to keep track of the group for which it is sending us contact names. */ char *current_list15_grp; + time_t last_ping; + time_t last_keepalive; }; #define YAHOO_MAX_STATUS_MESSAGE_LENGTH (255)