X-Git-Url: http://git.scottworley.com/reliable-chat/blobdiff_plain/869430fa1ce8451a742702fa0b5d344d247513b6..5419ea4ca0d267481834102fe51f8ca0c706486b:/webclient/rc.html diff --git a/webclient/rc.html b/webclient/rc.html index bb99825..8094f41 100644 --- a/webclient/rc.html +++ b/webclient/rc.html @@ -82,6 +82,11 @@ var session = Math.random(); // For outgoing message IDs var since = {}; // server -> time: For fetch?since= var seen = {}; // seen_key -> message + // Messages have these fields: + // Time: The server timestamp of the first copy to arrive + // ID: Some unique string for deduping + // Text: The text of the message + // UI: The DOM node for this message in the UI function rcnick() { var nick = localStorage.getItem("nick");