mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 05:38:41 +03:00
Try to fix tests
This commit is contained in:
parent
d12b1903f2
commit
5a5768a4ec
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ module.exports = React.createClass({
|
|||
var mxIdPromise = q();
|
||||
|
||||
// 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 defered = q.defer();
|
||||
mxIdPromise = defered.promise;
|
||||
|
|
Loading…
Reference in a new issue