scale up room avatar

This commit is contained in:
Bruno Windels 2021-04-27 14:43:13 +02:00
parent f902f255a4
commit 781235cb07

View File

@ -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;