Skip to content

Commit

Permalink
fix: chat avatar presence display (#2857)
Browse files Browse the repository at this point in the history
turns on presence for avatars in the chat thread
  • Loading branch information
gavinbarron authored Nov 14, 2023
1 parent a168e96 commit 965d3a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/mgt-chat/src/components/Chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,12 @@ export const Chat = ({ chatId }: IMgtChatProps) => {
// render props
onRenderAvatar={(userId?: string) => {
return (
<Person userId={userId} avatarSize="small" personCardInteraction={PersonCardInteraction.hover} />
<Person
userId={userId}
avatarSize="small"
showPresence={true}
personCardInteraction={PersonCardInteraction.hover}
/>
);
}}
styles={messageThreadStyles}
Expand Down

0 comments on commit 965d3a3

Please sign in to comment.