]> code.citadel.org Git - citadel.git/blobdiff - webcit/paging.c
Allow selection of tabs in multiple conversation mode.
[citadel.git] / webcit / paging.c
index ba9c056f82c683bdf60ce361d8d41ae8e3cf15f2..a72dba26bcff1e5346f1126d9188acdd33703426 100644 (file)
@@ -149,7 +149,8 @@ void do_chat(void)
 
 
 /*
- *
+ * If there are instant messages waiting, and we notice that we haven't checked them in
+ * a while, it probably means that we need to open the instant messenger window.
  */
 void page_popup(void)
 {
@@ -158,7 +159,7 @@ void page_popup(void)
        serv_puts("NOOP");
        serv_getln(buf, sizeof buf);
        if (buf[3] == '*') {
-               if ((time(NULL) - WC->last_pager_check) > 120) {
+               if ((time(NULL) - WC->last_pager_check) > 60) {
                        wprintf("<script type=\"text/javascript\">"
                                " window.open('static/instant_messenger.html', 'CTDL_MESSENGER', "
                                " 'width=600,height=400');"