avoid downloading avatars at full resolution
This commit is contained in:
parent
e4dfb90b85
commit
030deba90c
1 changed files with 1 additions and 1 deletions
|
@ -931,7 +931,7 @@ module.exports = withMatrixClient(React.createClass({
|
|||
const avatarUrl = this.props.member.getMxcAvatarUrl();
|
||||
let avatarElement;
|
||||
if (avatarUrl) {
|
||||
const httpUrl = this.props.matrixClient.mxcUrlToHttp(avatarUrl);
|
||||
const httpUrl = this.props.matrixClient.mxcUrlToHttp(avatarUrl, 800, 800);
|
||||
avatarElement = <div className="mx_MemberInfo_avatar">
|
||||
<img src={httpUrl} />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue