diff --git a/html/src/app.js b/html/src/app.js index 4f9a8708..902f5146 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -5179,6 +5179,10 @@ speechSynthesis.getVoices(); } 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;