From 17e3cd82f6c7878af959628f3beacf97ffd80589 Mon Sep 17 00:00:00 2001 From: dank074 Date: Sat, 11 Dec 2021 18:36:46 -0600 Subject: [PATCH] add name to chats --- .../messenger-thread-group/FriendsMessengerThreadGroup.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/friends/views/messenger-thread-group/FriendsMessengerThreadGroup.tsx b/src/views/friends/views/messenger-thread-group/FriendsMessengerThreadGroup.tsx index 417b50ed..6dd6eb43 100644 --- a/src/views/friends/views/messenger-thread-group/FriendsMessengerThreadGroup.tsx +++ b/src/views/friends/views/messenger-thread-group/FriendsMessengerThreadGroup.tsx @@ -56,6 +56,13 @@ export const FriendsMessengerThreadGroup: FC = } + + { + (isOwnChat) && GetSessionDataManager().userName + } + { (!isOwnChat) && ((group.type === GroupType.GROUP_CHAT) ? getGroupChatData(group.chats[0].extraData).username : thread.participant.name) + } + { group.chats.map((chat, index) =>{ chat.message }) } { (isOwnChat) &&