always show inviter if present
This commit is contained in:
parent
87defbfb51
commit
b6573258fb
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export class InviteViewModel extends ViewModel {
|
||||||
this._closeUrl = this.urlCreator.urlUntilSegment("session");
|
this._closeUrl = this.urlCreator.urlUntilSegment("session");
|
||||||
this._invite.on("change", this._onInviteChange);
|
this._invite.on("change", this._onInviteChange);
|
||||||
this._inviter = null;
|
this._inviter = null;
|
||||||
if (this._invite.inviter && ! this._invite.isDirectMessage) {
|
if (this._invite.inviter) {
|
||||||
this._inviter = new RoomMemberViewModel(this._invite.inviter, mediaRepository, this.platform);
|
this._inviter = new RoomMemberViewModel(this._invite.inviter, mediaRepository, this.platform);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue