From 030deba90cdbf9b1aaa1d88956e5bad58d8fafc7 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 25 Oct 2018 15:20:33 +0200 Subject: [PATCH] avoid downloading avatars at full resolution --- src/components/views/rooms/MemberInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/MemberInfo.js b/src/components/views/rooms/MemberInfo.js index 0c0048fd93..6b626b31c2 100644 --- a/src/components/views/rooms/MemberInfo.js +++ b/src/components/views/rooms/MemberInfo.js @@ -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 =