mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
expose name/avatar on member
This commit is contained in:
parent
2c14373b13
commit
70e89a3dd6
@ -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 New Issue
Block a user