From 3da075dd0ceb80659ff8db0ff7a696de66b55997 Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Mon, 7 Nov 2022 10:53:44 -0500 Subject: [PATCH] Change to 'last_message.unread' --- app/soapbox/features/chats/components/chat-list-item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/chats/components/chat-list-item.tsx b/app/soapbox/features/chats/components/chat-list-item.tsx index a8a818f95..5937800cf 100644 --- a/app/soapbox/features/chats/components/chat-list-item.tsx +++ b/app/soapbox/features/chats/components/chat-list-item.tsx @@ -117,7 +117,7 @@ const ChatListItem: React.FC = ({ chat, onClick }) => { timestamp={chat.last_message.created_at} align='right' size='xs' - theme={chat.unread ? 'default' : 'muted'} + theme={chat.last_message.unread ? 'default' : 'muted'} truncate />