scale down inviter avatar

This commit is contained in:
Bruno Windels 2021-04-27 15:01:20 +02:00
parent 15fba7a07d
commit a95df54978

View file

@ -151,7 +151,7 @@ class RoomMemberViewModel {
get avatarUrl() {
if (this._member.avatarUrl) {
const size = 32 * this.platform.devicePixelRatio;
const size = 24 * this._platform.devicePixelRatio;
return this._mediaRepository.mxcUrlThumbnail(this._member.avatarUrl, size, size, "crop");
}
return null;