Don't NPE if no third party invite

pull/21833/head
David Baker 2019-06-10 12:32:53 +01:00
parent 80812db466
commit 2c10557f26
1 changed files with 1 additions and 1 deletions

View File

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