From 704ac594d6e2e9a273ea84f374fbb3b2ac76be72 Mon Sep 17 00:00:00 2001 From: pypy Date: Mon, 13 Jan 2020 02:07:40 +0900 Subject: [PATCH] bugfix --- html/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/app.js b/html/app.js index b7d5eb15..fd59aaef 100644 --- a/html/app.js +++ b/html/app.js @@ -3705,7 +3705,9 @@ CefSharp.BindObjectAsync( $app.methods.userStatusClass = function (user) { var style = {}; if (user) { - if (user.state === 'active') { + // due to social status, check if the user isn't currentUser + if (user.state === 'active' && + user.id !== API.currentUser.id) { style.inactive = true; } else if (user.location === 'offline') { style.offline = true;