mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 22:10:57 +08:00
fix error when joining rooms
This commit is contained in:
parent
363e3f4e21
commit
7c445cc108
@ -69,6 +69,7 @@ module.exports = React.createClass({
|
|||||||
});
|
});
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
console.error("Failed to join room: %s", JSON.stringify(err));
|
console.error("Failed to join room: %s", JSON.stringify(err));
|
||||||
|
var ErrorDialog = sdk.getComponent("organisms.ErrorDialog");
|
||||||
Modal.createDialog(ErrorDialog, {
|
Modal.createDialog(ErrorDialog, {
|
||||||
title: "Failed to join room",
|
title: "Failed to join room",
|
||||||
description: err.message
|
description: err.message
|
||||||
|
Loading…
Reference in New Issue
Block a user