From 7c445cc108d69226da3c0bf36f3acbedb14a1961 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 27 Oct 2015 01:17:42 +0000 Subject: [PATCH] fix error when joining rooms --- src/skins/vector/views/organisms/RoomDirectory.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/skins/vector/views/organisms/RoomDirectory.js b/src/skins/vector/views/organisms/RoomDirectory.js index 5f5717c8..90c5dd57 100644 --- a/src/skins/vector/views/organisms/RoomDirectory.js +++ b/src/skins/vector/views/organisms/RoomDirectory.js @@ -69,6 +69,7 @@ module.exports = React.createClass({ }); }, function(err) { console.error("Failed to join room: %s", JSON.stringify(err)); + var ErrorDialog = sdk.getComponent("organisms.ErrorDialog"); Modal.createDialog(ErrorDialog, { title: "Failed to join room", description: err.message