From 7c121d77924496d08b1cd5e28b0246d3a005abb0 Mon Sep 17 00:00:00 2001 From: zeners Date: Sun, 21 Feb 2016 09:29:09 +0100 Subject: [PATCH] webui: chat: unread msg count for peer fixed --- libresapi/src/webui-src/app/chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libresapi/src/webui-src/app/chat.js b/libresapi/src/webui-src/app/chat.js index ab652cab9..a6392b175 100644 --- a/libresapi/src/webui-src/app/chat.js +++ b/libresapi/src/webui-src/app/chat.js @@ -52,8 +52,8 @@ function lobbies(){ } }, peer.name + " / " + loc.location + ( - lobby.unread_msgs > 0 - ? ("(" + lobby.unread_msgs + ")") + loc.unread_msgs > 0 + ? ("(" + loc.unread_msgs + ")") : "") ); })