From 90c6ef8310808775b01e2aa219fa34ff0967eba8 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Tue, 30 Mar 2021 01:30:07 +1300 Subject: [PATCH] Fix offline orange status users appearing as online Another sad fix --- html/src/app.js | 4 ++++ 1 file changed, 4 insertions(+) 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;