diff --git a/src/modules/chat/components/ChatConversationList.jsx b/src/modules/chat/components/ChatConversationList.jsx index feda181..914ade2 100644 --- a/src/modules/chat/components/ChatConversationList.jsx +++ b/src/modules/chat/components/ChatConversationList.jsx @@ -23,6 +23,29 @@ function ChannelBadge({ channel }) { ); } +function PresenceDot({ status }) { + const color = + status === 'online' + ? '#16a34a' + : status === 'away' + ? '#e5a22a' + : '#dc2626'; + + return ( +