You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Try to fix tests
This commit is contained in:
@ -771,7 +771,7 @@ module.exports = React.createClass({
|
|||||||
var mxIdPromise = q();
|
var mxIdPromise = q();
|
||||||
|
|
||||||
// If the user is a ROU, allow them to transition to a PWLU
|
// If the user is a ROU, allow them to transition to a PWLU
|
||||||
if (cli.isGuest()) {
|
if (cli && cli.isGuest()) {
|
||||||
const SetMxIdDialog = sdk.getComponent('views.dialogs.SetMxIdDialog');
|
const SetMxIdDialog = sdk.getComponent('views.dialogs.SetMxIdDialog');
|
||||||
const defered = q.defer();
|
const defered = q.defer();
|
||||||
mxIdPromise = defered.promise;
|
mxIdPromise = defered.promise;
|
||||||
|
Reference in New Issue
Block a user