fix error when joining rooms

This commit is contained in:
Matthew Hodgson 2015-10-27 01:17:42 +00:00
parent 363e3f4e21
commit 7c445cc108

View file

@ -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