diff --git a/src/components/common/messaging/bars/TypingIndicator.tsx b/src/components/common/messaging/bars/TypingIndicator.tsx index b7d2d75c..848c465f 100644 --- a/src/components/common/messaging/bars/TypingIndicator.tsx +++ b/src/components/common/messaging/bars/TypingIndicator.tsx @@ -76,7 +76,9 @@ export default observer(({ channel }: Props) => { if (users.length >= 5) { text = ; } else if (users.length > 1) { - const userlist = [...users].map((x) => x!.username); + const userlist = [...users].map( + (x) => x!.display_name ?? x!.username, + ); const user = userlist.pop(); text = ( @@ -92,7 +94,9 @@ export default observer(({ channel }: Props) => { text = ( ); }