Revert "Don't use oobData if there is none"

This reverts commit a73436e1a1.
This commit is contained in:
Travis Ralston 2019-06-25 20:31:20 -06:00
parent a73436e1a1
commit e5c3e5988b

View file

@ -238,9 +238,9 @@ module.exports = React.createClass({
params: {
email: this.props.invitedEmail,
signurl: this.props.signUrl,
room_name: this.props.oobData ? this.props.oobData.room_name : null,
room_avatar_url: this.props.oobData ? this.props.oobData.avatarUrl : null,
inviter_name: this.props.oobData ? this.props.oobData.inviterName : null,
room_name: this.props.oobData.room_name,
room_avatar_url: this.props.oobData.avatarUrl,
inviter_name: this.props.oobData.inviterName,
}
};
},