From 7502409026b07ce5b634a054280b478d7a24d287 Mon Sep 17 00:00:00 2001 From: slawk0 Date: Tue, 28 Jan 2025 18:46:13 +0100 Subject: [PATCH] removed profile image from members list --- .../chat/rightSidebar/ParticipantsBar.tsx | 14 +++++++------- server/server.js | 6 +----- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/client/src/components/chat/rightSidebar/ParticipantsBar.tsx b/client/src/components/chat/rightSidebar/ParticipantsBar.tsx index b4555de..7014a7c 100644 --- a/client/src/components/chat/rightSidebar/ParticipantsBar.tsx +++ b/client/src/components/chat/rightSidebar/ParticipantsBar.tsx @@ -236,13 +236,13 @@ function ParticipantsBar() {
  • -
    - Profile image -
    + {/*
    */} + {/* */} + {/*
    */} {participant.username} {participant.isowner ? ( diff --git a/server/server.js b/server/server.js index 47ad1ce..67fa32e 100644 --- a/server/server.js +++ b/server/server.js @@ -223,11 +223,7 @@ app.delete( console.log("Delete contact for: ", req.params.contact_id, conversation_id); - const result = await deleteContact( - req.user.user_id, - contact_id, - conversation_id, - ); + const result = await deleteContact(req.user.user_id, contact_id); if (result?.message) { return res.status(400).json({ message: result.message }); }