Merge branch 'export-conversations' of github.com:jaiwanth-v/matrix-react-sdk into export-conversations
This commit is contained in:
commit
0cbcc5a5fd
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue