forked from mystiq/hydrogen-web
expose name/avatar on member
This commit is contained in:
parent
2c14373b13
commit
70e89a3dd6
1 changed files with 8 additions and 0 deletions
|
@ -54,6 +54,14 @@ export class RoomMember {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get displayName() {
|
||||||
|
return this._data.displayName;
|
||||||
|
}
|
||||||
|
|
||||||
|
get avatarUrl() {
|
||||||
|
return this._data.avatarUrl;
|
||||||
|
}
|
||||||
|
|
||||||
get roomId() {
|
get roomId() {
|
||||||
return this._data.roomId;
|
return this._data.roomId;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue