From: Scott Worley Date: Fri, 3 Aug 2012 17:48:05 +0000 (-0700) Subject: Fix initial servertimes entry. X-Git-Url: http://git.scottworley.com/reliable-chat/commitdiff_plain/16640c5d843dd7fd5edbd5c98ef6035ffa96eea4 Fix initial servertimes entry. (Use the value of the variable server, not the string "server".) --- diff --git a/webclient/rc.html b/webclient/rc.html index 988f1fb..f3abaf3 100644 --- a/webclient/rc.html +++ b/webclient/rc.html @@ -170,7 +170,8 @@ seen[seen_key].ServerTimes[server] = m.Time; rcupdatemessagetime(seen[seen_key]); } else { - m.ServerTimes = {server: m.Time}; + m.ServerTimes = {}; + m.ServerTimes[server] = m.Time; seen[seen_key] = m; rcaddmessagetohistory(m); for (var i in servers) {