Merge branch 'export-conversations' of github.com:jaiwanth-v/matrix-react-sdk into export-conversations

This commit is contained in:
Jaiwanth 2021-06-22 09:29:24 +05:30
commit 0cbcc5a5fd

View file

@ -68,7 +68,7 @@ export default class MemberAvatar extends React.Component<IProps, IState> {
private static getState(props: IProps): IState {
if (props.member?.name) {
let imageUrl = null;
if (props.forExport && props.member.getMxcAvatarUrl()) imageUrl = "AvatarForExport";
if (props.forExport && props.member.getMxcAvatarUrl()) imageUrl = "avatarForExport";
else if (props.member.getMxcAvatarUrl()) {
imageUrl = mediaFromMxc(props.member.getMxcAvatarUrl()).getThumbnailOfSourceHttp(
props.width,