scale up room avatar
This commit is contained in:
parent
f902f255a4
commit
781235cb07
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export class InviteViewModel extends ViewModel {
|
||||||
|
|
||||||
get avatarUrl() {
|
get avatarUrl() {
|
||||||
if (this._invite.avatarUrl) {
|
if (this._invite.avatarUrl) {
|
||||||
const size = 32 * this.platform.devicePixelRatio;
|
const size = 128 * this.platform.devicePixelRatio;
|
||||||
return this._mediaRepository.mxcUrlThumbnail(this._invite.avatarUrl, size, size, "crop");
|
return this._mediaRepository.mxcUrlThumbnail(this._invite.avatarUrl, size, size, "crop");
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Reference in a new issue