diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 459847ce88..1795913e49 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -468,7 +468,7 @@ module.exports = React.createClass({ var Loader = sdk.getComponent("elements.Spinner"); var modal = Modal.createDialog(Loader); - if (MatrixClientPeg.get().isGuest) { + if (MatrixClientPeg.get().isGuest()) { Modal.createDialog(NeedToRegisterDialog, { title: "Please Register", description: "Guest users can't create new rooms. Please register to create room and start a chat."