From d75208f88b7def523fdc59e9e75614aabdcb8e32 Mon Sep 17 00:00:00 2001 From: slawk0 Date: Sun, 12 Jan 2025 15:37:38 +0100 Subject: [PATCH] unread messages handling works --- client/index.html | 2 +- client/src/api/contactsApi.tsx | 15 ---- .../components/chat/chatArea/MessagesArea.tsx | 87 +++++++++++-------- .../chat/leftSidebar/ContactsList.tsx | 48 +++++----- .../chat/leftSidebar/LastActiveTime.tsx | 2 +- .../chat/rightSidebar/ParticipantsBar.tsx | 2 + client/src/context/chat/ChatProvider.tsx | 14 ++- client/src/pages/Login.tsx | 2 +- server/db/db.js | 73 +++++++++------- 9 files changed, 130 insertions(+), 115 deletions(-) diff --git a/client/index.html b/client/index.html index 9bdc162..6f848dc 100644 --- a/client/index.html +++ b/client/index.html @@ -7,7 +7,7 @@ - Turtel chat 🐢 + Turtel chat