]> code.citadel.org Git - citadel.git/blobdiff - webcit/paging.c
* Added missing HTTP headers to do_chat()
[citadel.git] / webcit / paging.c
index 89cd5b04e1ec96ace7057c8a87a865f530122be0..c9d14b9272ccd34f9a70f0fa6f0bf016877b37d1 100644 (file)
@@ -138,9 +138,12 @@ void do_chat(void)
        }
 
        /* WebCit Chat works by having transmit, receive, and refresh
-        * frames.  Load the frameset.
+        * frames.  Load the frameset.  (This isn't AJAX but the headers
+        * output by begin_ajax_response() happen to be the ones we need.)
         */
+       begin_ajax_response();
        do_template("chatframeset");
+       end_ajax_response();
        return;
 }