From 5dc3a87a9771f9470ba1dab97c3ea8502d076756 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 28 Aug 2026 23:27:17 +0300 Subject: [PATCH] lint --- src/stores/chats.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stores/chats.js b/src/stores/chats.js index f2b27306d..32296ff4f 100644 --- a/src/stores/chats.js +++ b/src/stores/chats.js @@ -77,7 +77,8 @@ export const useChatsStore = defineStore('chats', { updateChat(updatedChat) { const chat = this.data.get(updatedChat.id) if (chat) { - const isNewMessage = chat.lastMessage?.id !== updatedChat.lastMessage?.id + const isNewMessage = + chat.lastMessage?.id !== updatedChat.lastMessage?.id chat.lastMessage = updatedChat.lastMessage chat.unread = updatedChat.unread chat.updated_at = updatedChat.updated_at