* move some more vars from the session context to strbuf (the use of StrBufAppendTemp...
[citadel.git] / webcit / static / instant_messenger.html
index 8b7277f942fe4ce61fceef76962a321ccf490e3b..0ecdcc772d6c99622e1266fa3cba86451e868a5d 100644 (file)
@@ -47,10 +47,10 @@ function SendSomething(which_div, sendform, recipient) {
 
        // Send the text to the server
        parms = 'r=' + Math.random()
-               + '&g_cmd=SEXP ' + recipient + '|' + thetext;
+               + '&g_cmd=SEXP ' + recipient + '|-\n' + escape(thetext);
        new Ajax.Request('../ajax_servcmd',
                {
-                       method: 'get',
+                       method: 'post',
                        parameters: parms
                }
        );