You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-06 10:22:45 +03:00
Oops, lost trackPromise
This commit is contained in:
@@ -181,10 +181,11 @@ module.exports = React.createClass({
|
|||||||
// will just nop. The point of this being we might not have the email address
|
// will just nop. The point of this being we might not have the email address
|
||||||
// that the user registered with at this stage (depending on whether this
|
// that the user registered with at this stage (depending on whether this
|
||||||
// is the client they initiated registration).
|
// is the client they initiated registration).
|
||||||
|
let trackPromise = q(null);
|
||||||
if (this._rtsClient) {
|
if (this._rtsClient) {
|
||||||
// Track referral if this.props.referrer set, get team_token in order to
|
// Track referral if this.props.referrer set, get team_token in order to
|
||||||
// retrieve team config and see welcome page etc.
|
// retrieve team config and see welcome page etc.
|
||||||
this._rtsClient.trackReferral(
|
trackPromise = this._rtsClient.trackReferral(
|
||||||
this.props.referrer || '', // Default to empty string = not referred
|
this.props.referrer || '', // Default to empty string = not referred
|
||||||
this.registerLogic.params.idSid,
|
this.registerLogic.params.idSid,
|
||||||
this.registerLogic.params.clientSecret
|
this.registerLogic.params.clientSecret
|
||||||
|
Reference in New Issue
Block a user