Message: Fix comments button not showing when no full info is loaded (#3103)

This commit is contained in:
Alexander Zinchuk 2023-04-27 18:53:30 +04:00
parent f06ecc04b6
commit 565a281d02

View File

@ -743,7 +743,7 @@ export default memo(withGlobal<OwnProps>(
isLoadingBotInfo,
botInfo,
threadTopMessageId,
hasLinkedChat: Boolean(chatFullInfo?.linkedChatId),
hasLinkedChat: chatFullInfo ? Boolean(chatFullInfo.linkedChatId) : undefined,
lastSyncTime: global.lastSyncTime,
topic,
noMessageSendingAnimation: !selectPerformanceSettingsValue(global, 'messageSendingAnimations'),