Skip unread indicators for ChatServer messages

This commit is contained in:
Noah 2023-03-16 19:02:59 -07:00
parent 368902e801
commit a23f5080d5

View File

@ -989,7 +989,7 @@ const app = Vue.createApp({
// Mark unread notifiers if this is not our channel. // Mark unread notifiers if this is not our channel.
if (this.channel !== channel) { if (this.channel !== channel) {
// Don't notify about presence broadcasts. // Don't notify about presence broadcasts.
if (action !== "presence") { if (action !== "presence" && !isChatServer) {
this.channels[channel].unread++; this.channels[channel].unread++;
} }
} }