You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Fix sign in / up links on previewed rooms
They errored because the out-of-band data was assumed to be non-null, but that's only present for 3rd party invites.
This commit is contained in:
@@ -266,9 +266,9 @@ export default createReactClass({
|
|||||||
params: {
|
params: {
|
||||||
email: this.props.invitedEmail,
|
email: this.props.invitedEmail,
|
||||||
signurl: this.props.signUrl,
|
signurl: this.props.signUrl,
|
||||||
room_name: this.props.oobData.room_name,
|
room_name: this.props.oobData ? this.props.oobData.room_name : null,
|
||||||
room_avatar_url: this.props.oobData.avatarUrl,
|
room_avatar_url: this.props.oobData ? this.props.oobData.avatarUrl : null,
|
||||||
inviter_name: this.props.oobData.inviterName,
|
inviter_name: this.props.oobData ? this.props.oobData.inviterName : null,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user