diff --git a/src/domain/session/rightpanel/MemberTileViewModel.js b/src/domain/session/rightpanel/MemberTileViewModel.js index c6c489de..899f2b7b 100644 --- a/src/domain/session/rightpanel/MemberTileViewModel.js +++ b/src/domain/session/rightpanel/MemberTileViewModel.js @@ -3,7 +3,8 @@ import {ViewModel} from "../../ViewModel.js"; export class MemberTileViewModel extends ViewModel { constructor(options) { super(options); - this._member = options.member; + this._member = this._options.member; + this._shouldDisambiguate = options.shouldDisambiguate; } get name() { @@ -13,4 +14,9 @@ export class MemberTileViewModel extends ViewModel { get userId() { return this._member.userId; } + + updateFrom(newMember) { + this._member = newMember; + } + }