]> git.scottworley.com Git - reliable-chat/blobdiff - webclient/rc.html
Leave out the anonymous nick reminders for now
[reliable-chat] / webclient / rc.html
index 8d1c84a02755210f083e4277fb739692d9a27e88..632956b21b522e6b7cc92c3b06bc15a30fcf8d5e 100644 (file)
                                                var messages = JSON.parse(rtxt);
                                                if (messages != null) {
                                                        rcreceivemessages(server, messages);
                                                var messages = JSON.parse(rtxt);
                                                if (messages != null) {
                                                        rcreceivemessages(server, messages);
-                                                       window.parent.postMessage(rtxt, "*");
                                                        delay = 40;
                                                        if (messages.length >= 1 && "Time" in messages[messages.length-1]) {
                                                                since[server] = messages[messages.length-1]["Time"];
                                                        delay = 40;
                                                        if (messages.length >= 1 && "Time" in messages[messages.length-1]) {
                                                                since[server] = messages[messages.length-1]["Time"];
                        status_indicator.setAttribute("class", "sad");
                        document.getElementById("status").appendChild(status_indicator);
                }
                        status_indicator.setAttribute("class", "sad");
                        document.getElementById("status").appendChild(status_indicator);
                }
-               if (rcnick() == 'anonymous') {
-                       rcaddmessagetohistory("-!- Set your nick with /nick");
-               }
        }
 
        function rcsend(d, message) {
        }
 
        function rcsend(d, message) {
                        // Say the message
                        var d = rcaddmessagetohistory(message);
                        rcsend(d, message);
                        // Say the message
                        var d = rcaddmessagetohistory(message);
                        rcsend(d, message);
-
-                       // Remind people to set their nick
-                       if (rcnick() == 'anonymous') {
-                               rcaddmessagetohistory("-!- Set your nick with /nick");
-                       }
                }
        }
   //--><!]]></script>
                }
        }
   //--><!]]></script>