app level keepalive (new ping message) added
[brisk.git] / web / commons.js
index 94de832..f0ea078 100644 (file)
@@ -329,6 +329,11 @@ function act_chatt(value)
 }
 
 /* Stat: ROOM */
+function act_ping()
+{
+    send_mesg("ping");
+}
+
 function act_sitdown(table)
 {
     send_mesg("sitdown|"+table);