mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 21:11:25 +02:00
Try to fix tests
This commit is contained in:
parent
d12b1903f2
commit
5a5768a4ec
@ -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…
x
Reference in New Issue
Block a user