Page MenuHomePhorge

No OneTemporary

Size
675 B
Referenced Files
None
Subscribers
None
diff --git a/src/stores/chats.js b/src/stores/chats.js
index b0373b0e5c..6fcfbcd1e8 100644
--- a/src/stores/chats.js
+++ b/src/stores/chats.js
@@ -81,11 +81,11 @@ export const useChatsStore = defineStore('chats', {
chat.lastMessage = updatedChat.lastMessage
chat.unread = updatedChat.unread
chat.updated_at = updatedChat.updated_at
- if (!isNewMessage) return
+ if (isNewMessage) maybeShowChatNotification(chat)
} else {
this.data.set(updatedChat.id, updatedChat)
+ maybeShowChatNotification(updatedChat)
}
- maybeShowChatNotification(chat)
},
deleteChat(id) {
this.data.delete(id)

File Metadata

Mime Type
text/x-diff
Expires
Fri, Aug 28, 8:39 AM (1 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1736311
Default Alt Text
(675 B)

Event Timeline