From 75a31106246500cc5ca1445fcf337a329d6865b0 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 4 Mar 2014 16:48:16 +0000 Subject: [PATCH] stat event-queueing is per-team. --- tools/htdocs/mkws.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 039ca55..ee05520 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -221,7 +221,7 @@ function widget($, team, type, node) { function promoteStat() { - mkws.queue("stat").subscribe(function(data) { + mkws.queue("stat." + team.name()).subscribe(function(data) { if (node.length === 0) alert("huh?!"); $(node).html('' + M('Status info') + '' + @@ -313,7 +313,7 @@ function team($, teamName) { function onStat(data) { debug("stat"); - mkws.queue("stat").publish(data); + mkws.queue("stat." + m_teamName).publish(data); } -- 1.7.10.4