{ scopeHeader }
{ inviteButton }
}
footer={footer}
onClose={this.props.onClose}
previousPhase={previousPhase}
>
{ invitedHeader }
{ invitedSection }
;
}
onInviteButtonClick = () => {
if (MatrixClientPeg.get().isGuest()) {
dis.dispatch({action: 'require_registration'});
return;
}
// call AddressPickerDialog
dis.dispatch({
action: 'view_invite',
roomId: this.props.roomId,
});
};
}