mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
scale down inviter avatar
This commit is contained in:
parent
15fba7a07d
commit
a95df54978
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user