[Perf] Middle Header: Do not render video avatar when opening chat

This commit is contained in:
Alexander Zinchuk 2022-09-13 10:22:49 +02:00
parent b7bf020eb4
commit 678d5278c8

View File

@ -339,7 +339,7 @@ const MiddleHeader: FC<OwnProps & StateProps> = ({
withFullInfo withFullInfo
withMediaViewer withMediaViewer
withUpdatingStatus withUpdatingStatus
withVideoAvatar withVideoAvatar={isReady}
noRtl noRtl
/> />
) : ( ) : (
@ -351,7 +351,7 @@ const MiddleHeader: FC<OwnProps & StateProps> = ({
withMediaViewer withMediaViewer
withFullInfo withFullInfo
withUpdatingStatus withUpdatingStatus
withVideoAvatar withVideoAvatar={isReady}
noRtl noRtl
/> />
)} )}