diff --git a/html/src/app.js b/html/src/app.js
index 902f5146..d9306b52 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -5173,16 +5173,14 @@ speechSynthesis.getVoices();
$app.methods.userStatusClass = function (user) {
var style = {};
if (typeof user !== 'undefined') {
- if (user.location === 'offline') {
+ if ((user.location === 'offline') ||
+ ((!this.friendsGroup0_.filter(e => e.id === user.id).length > 0) &&
+ (!this.friendsGroup1_.filter(e => e.id === user.id).length > 0))) {
// Offline
style.offline = true;
} else if (user.status === 'active') {
// Online
style.active = true;
- } else if ((!this.friendsGroup0_.filter(e => e.id === user.id).length > 0) &&
- (!this.friendsGroup1_.filter(e => e.id === user.id).length > 0)) {
- // Offline
- style.offline = true;
} else if (user.status === 'join me') {
// Join Me
style.joinme = true;