Reorder code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-08-06 07:46:01 +02:00
parent 4f0c800cad
commit 422c27fcef
No known key found for this signature in database
GPG Key ID: CC823428E9B582FB
1 changed files with 8 additions and 8 deletions

View File

@ -397,6 +397,14 @@ class UserPillPart extends PillPart {
super(userId, displayName);
}
public get type(): IPillPart["type"] {
return Type.UserPill;
}
protected get className() {
return "mx_UserPill mx_Pill";
}
protected setAvatar(node: HTMLElement): void {
if (!this.member) {
return;
@ -417,14 +425,6 @@ class UserPillPart extends PillPart {
member: this.member,
});
};
public get type(): IPillPart["type"] {
return Type.UserPill;
}
protected get className() {
return "mx_UserPill mx_Pill";
}
}
class PillCandidatePart extends PlainBasePart implements IPillCandidatePart {