From bafce39107921418d74a62cad693da98cb16e816 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 9 May 2013 21:12:01 -0400 Subject: [PATCH] Show timestamps on continued messages --- www/assets/js/functions.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/www/assets/js/functions.js b/www/assets/js/functions.js index 5b51556d..e3e595fa 100644 --- a/www/assets/js/functions.js +++ b/www/assets/js/functions.js @@ -183,16 +183,13 @@ function addChatMessage(data) { function formatChatMessage(data) { var skip = data.username == LASTCHATNAME; - if(Date.now() > LASTCHATTIME + 60000) { - skip = false; - } if(data.msgclass == "drink" || data.msgclass == "shout") { skip = false; } LASTCHATNAME = data.username; LASTCHATTIME = data.time; var div = $("
"); - if(USEROPTS.show_timestamps && !skip) { + if(USEROPTS.show_timestamps) { var time = $("").addClass("timestamp").appendTo(div); var timestamp = new Date(data.time).toTimeString().split(" ")[0]; time.text("["+timestamp+"] ");