diff --git a/src/components/middle/MessageList.tsx b/src/components/middle/MessageList.tsx index a1dfdee45..b8c7f165c 100644 --- a/src/components/middle/MessageList.tsx +++ b/src/components/middle/MessageList.tsx @@ -505,8 +505,6 @@ const MessageList: FC = ({ const isGroupChatJustCreated = isGroupChat && isCreator && messageIds?.length === 1 && messagesById?.[messageIds[0]]?.content.action?.type === 'chatCreate'; - const isBotInfoEmpty = botInfo && !botInfo.description; - const className = buildClassName( 'MessageList custom-scroll', noAvatars && 'no-avatars', @@ -535,7 +533,7 @@ const MessageList: FC = ({ ) : botInfo ? (
{isLoadingBotInfo && {lang('Loading')}} - {isBotInfoEmpty && {lang('NoMessages')}} + {!botInfo && !isLoadingBotInfo && {lang('NoMessages')}} {botInfo && (