| 1236 NULL); |
1236 NULL); |
| 1237 */ |
1237 */ |
| 1238 |
1238 |
| 1239 /* Disable due to problems with timeouts. TODO: fix. */ |
1239 /* Disable due to problems with timeouts. TODO: fix. */ |
| 1240 #ifdef MSIM_USE_KEEPALIVE |
1240 #ifdef MSIM_USE_KEEPALIVE |
| 1241 purple_timeout_add(MSIM_KEEPALIVE_INTERVAL_CHECK, |
1241 purple_timeout_add_seconds(MSIM_KEEPALIVE_INTERVAL_CHECK, |
| 1242 (GSourceFunc)msim_check_alive, session); |
1242 (GSourceFunc)msim_check_alive, session); |
| 1243 #endif |
1243 #endif |
| 1244 |
1244 |
| 1245 /* Check mail if they want to. */ |
1245 /* Check mail if they want to. */ |
| 1246 if (purple_account_get_check_mail(session->account)) { |
1246 if (purple_account_get_check_mail(session->account)) { |