Skip to content

Commit 0258fe5

Browse files
committed
fix: Remove unread messages notification
This is unnecessarily spamming the view when the chat tab is closed. Also, this is kind of a duplicate with the blue dot on the message icon. Signed-off-by: Louis <louis@chmn.me>
1 parent 2290ec5 commit 0258fe5

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/components/RightSidebar/RightSidebar.vue

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -427,17 +427,6 @@ export default {
427427
},
428428
},
429429
430-
unreadMessagesCounter(newValue, oldValue) {
431-
if (!this.isInCall || this.opened) {
432-
return
433-
}
434-
435-
// new messages arrived
436-
if (newValue > 0 && oldValue === 0 && !this.hasUnreadMentions) {
437-
this.notifyUnreadMessages(t('spreed', 'You have new unread messages in the chat.'))
438-
}
439-
},
440-
441430
hasUnreadMentions(newValue) {
442431
if (!this.isInCall || this.opened) {
443432
return

0 commit comments

Comments
 (0)