diff --git a/html/src/app.js b/html/src/app.js index dff24a19..a8a49aa4 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -5207,7 +5207,8 @@ speechSynthesis.getVoices(); id = user.userId; } if ((user.location === 'offline') || - ((id) && (!this.friendsGroup0_.filter(e => e.id === id).length > 0) && + ((id) && (id !== API.currentUser.id) && + (!this.friendsGroup0_.filter(e => e.id === id).length > 0) && (!this.friendsGroup1_.filter(e => e.id === id).length > 0))) { // Offline style.offline = true;