mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-15 09:21:02 +02:00
fix lint
This commit is contained in:
parent
a75c948e2e
commit
fb03b5b168
@ -276,7 +276,10 @@ export class UserPillPart extends PillPart {
|
||||
setAvatar(node) {
|
||||
const name = this._member.name || this._member.userId;
|
||||
const defaultAvatarUrl = Avatar.defaultAvatarUrlForString(this._member.userId);
|
||||
let avatarUrl = Avatar.avatarUrlForMember(this._member, 16 * window.devicePixelRatio, 16 * window.devicePixelRatio);
|
||||
let avatarUrl = Avatar.avatarUrlForMember(
|
||||
this._member,
|
||||
16 * window.devicePixelRatio,
|
||||
16 * window.devicePixelRatio);
|
||||
let initialLetter = "";
|
||||
if (avatarUrl === defaultAvatarUrl) {
|
||||
// the url from defaultAvatarUrlForString is meant to go in an img element,
|
||||
|
Loading…
x
Reference in New Issue
Block a user