Fallback to username

This commit is contained in:
Chewbacca 2022-11-04 10:43:19 -04:00
parent 245a0f4fc8
commit 97450f416c

View file

@ -87,7 +87,7 @@ const ChatWindow = () => {
<LinkWrapper enabled={isOpen} to={`@${chat.account.acct}`}>
<Stack alignItems='start'>
<div className='flex items-center space-x-1 flex-grow'>
<Text size='sm' weight='bold' truncate>{chat.account.display_name}</Text>
<Text size='sm' weight='bold' truncate>{chat.account.display_name || `@${chat.account.acct}`}</Text>
{chat.account.verified && <VerificationBadge />}
</div>
{chat.message_expiration && (