From a23f5080d5f4cecdf0799043906b6a91eb1f82a3 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Thu, 16 Mar 2023 19:02:59 -0700 Subject: [PATCH] Skip unread indicators for ChatServer messages --- web/static/js/BareRTC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/js/BareRTC.js b/web/static/js/BareRTC.js index 0814c8f..3c449b1 100644 --- a/web/static/js/BareRTC.js +++ b/web/static/js/BareRTC.js @@ -989,7 +989,7 @@ const app = Vue.createApp({ // Mark unread notifiers if this is not our channel. if (this.channel !== channel) { // Don't notify about presence broadcasts. - if (action !== "presence") { + if (action !== "presence" && !isChatServer) { this.channels[channel].unread++; } }