# HG changeset patch # User Jeffrey Connelly # Date 1182310269 0 # Node ID 0d799da3b8938e4466909214ab3527c922512bf8 # Parent 9cb771adbdea3946d64b510c3c1e6b2a54139628 Add TODO for msimprpl to timeout (handling keep-alives). diff -r 9cb771adbdea -r 0d799da3b893 libpurple/protocols/myspace/myspace.c --- a/libpurple/protocols/myspace/myspace.c Wed Jun 20 03:28:05 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Wed Jun 20 03:31:09 2007 +0000 @@ -1055,6 +1055,10 @@ } else if (msim_msg_get(msg, "error")) { return msim_error(session, msg); } else if (msim_msg_get(msg, "ka")) { + /* TODO: Setup a timer, if keep-alive is not received within ~3 minutes, then + * disconnect the user. As it stands, if Internet connection goes out (this + * just happened here), msimprpl will appear to be connected forever, while + * other plugins (oscar, etc.) will time out. Msimprpl should timeout too. */ purple_debug_info("msim", "msim_process: got keep alive\n"); return TRUE; } else {