1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-28 09:24:05 +03:00

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}
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>