forked from mystiq/hydrogen-web
Add link to open member details
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
7dacbdb700
commit
65b1a1958a
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ export class MemberTileViewModel extends ViewModel {
|
|||
return this._nameChanged;
|
||||
}
|
||||
|
||||
get detailsUrl() {
|
||||
return `${this.urlCreator.urlUntilSegment("room")}/member/${this._member.userId}`;
|
||||
}
|
||||
|
||||
_updatePreviousName(newName) {
|
||||
const currentName = this._member.name;
|
||||
if (currentName !== newName) {
|
||||
|
|
Loading…
Reference in a new issue