libpurple/protocols/myspace/myspace.c

branch
soc.2007.msimprpl
changeset 17983
ab605d563943
parent 17982
7c2fe89250cd
child 17984
9a53a8583bba
--- 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 {

mercurial