scale down inviter avatar
This commit is contained in:
parent
15fba7a07d
commit
a95df54978
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class RoomMemberViewModel {
|
||||||
|
|
||||||
get avatarUrl() {
|
get avatarUrl() {
|
||||||
if (this._member.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 this._mediaRepository.mxcUrlThumbnail(this._member.avatarUrl, size, size, "crop");
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Reference in a new issue