Revert "Don't use oobData if there is none"
This reverts commit a73436e1a1
.
This commit is contained in:
parent
a73436e1a1
commit
e5c3e5988b
1 changed files with 3 additions and 3 deletions
|
@ -238,9 +238,9 @@ module.exports = React.createClass({
|
||||||
params: {
|
params: {
|
||||||
email: this.props.invitedEmail,
|
email: this.props.invitedEmail,
|
||||||
signurl: this.props.signUrl,
|
signurl: this.props.signUrl,
|
||||||
room_name: this.props.oobData ? this.props.oobData.room_name : null,
|
room_name: this.props.oobData.room_name,
|
||||||
room_avatar_url: this.props.oobData ? this.props.oobData.avatarUrl : null,
|
room_avatar_url: this.props.oobData.avatarUrl,
|
||||||
inviter_name: this.props.oobData ? this.props.oobData.inviterName : null,
|
inviter_name: this.props.oobData.inviterName,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue