]> git.scottworley.com Git - reliable-chat/blobdiff - webclient/rc.html
CSS class for local messages
[reliable-chat] / webclient / rc.html
index 7f3e8d1bfaaca05d536bbe3a1cfc9b0004b5bf11..a8bc337a2193ebbc8c6506b97b5f9772afbb63e7 100644 (file)
                        type = "status";
                } else if (/^\* /.test(message.Text)) {
                        type = "me";
                        type = "status";
                } else if (/^\* /.test(message.Text)) {
                        type = "me";
+               } else if (/^-!- /.test(message.Text)) {
+                       type = "local";
                } else {
                        type = "text";
                }
                } else {
                        type = "text";
                }