This commit is contained in:
pypy
2020-01-13 02:07:40 +09:00
parent 92ac7fc7e6
commit 704ac594d6

View File

@@ -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;