Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
24101:bb8aa63494e7 | 24102:b5210bb72273 |
---|---|
174 /** | 174 /** |
175 * We may receive a list15 in multiple packets with no prior warning as to how many we'll be getting; | 175 * We may receive a list15 in multiple packets with no prior warning as to how many we'll be getting; |
176 * the server expects us to keep track of the group for which it is sending us contact names. | 176 * the server expects us to keep track of the group for which it is sending us contact names. |
177 */ | 177 */ |
178 char *current_list15_grp; | 178 char *current_list15_grp; |
179 time_t last_ping; | |
180 time_t last_keepalive; | |
179 }; | 181 }; |
180 | 182 |
181 #define YAHOO_MAX_STATUS_MESSAGE_LENGTH (255) | 183 #define YAHOO_MAX_STATUS_MESSAGE_LENGTH (255) |
182 | 184 |
183 /* sometimes i wish prpls could #include things from other prpls. then i could just | 185 /* sometimes i wish prpls could #include things from other prpls. then i could just |