Skip unread indicators for ChatServer messages
This commit is contained in:
parent
368902e801
commit
a23f5080d5
|
@ -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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user