expose name/avatar on member

This commit is contained in:
Bruno Windels 2020-08-21 18:13:53 +02:00
parent 2c14373b13
commit 70e89a3dd6

View file

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