Don't NPE if no third party invite

This commit is contained in:
David Baker 2019-06-10 12:32:53 +01:00
parent 80812db466
commit 2c10557f26

View File

@ -1553,7 +1553,7 @@ module.exports = React.createClass({
inviterName={inviterName} inviterName={inviterName}
invitedEmail={invitedEmail} invitedEmail={invitedEmail}
oobData={this.props.oobData} oobData={this.props.oobData}
signUrl={this.props.thirdPartyInvite.inviteSignUrl} signUrl={this.props.thirdPartyInvite ? this.props.thirdPartyInvite.inviteSignUrl : null}
room={this.state.room} room={this.state.room}
/> />
</div> </div>