mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
always show inviter if present
This commit is contained in:
parent
87defbfb51
commit
b6573258fb
@ -30,7 +30,7 @@ export class InviteViewModel extends ViewModel {
|
||||
this._closeUrl = this.urlCreator.urlUntilSegment("session");
|
||||
this._invite.on("change", this._onInviteChange);
|
||||
this._inviter = null;
|
||||
if (this._invite.inviter && ! this._invite.isDirectMessage) {
|
||||
if (this._invite.inviter) {
|
||||
this._inviter = new RoomMemberViewModel(this._invite.inviter, mediaRepository, this.platform);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user