Remove "Cannot re-join empty room" error
This is a lying error message. burn it with firepull/21833/head
parent
9c4671568d
commit
42de77e588
|
@ -810,11 +810,6 @@ module.exports = React.createClass({
|
||||||
} else {
|
} else {
|
||||||
var msg = error.message ? error.message : JSON.stringify(error);
|
var msg = error.message ? error.message : JSON.stringify(error);
|
||||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||||
if (msg === "No known servers") {
|
|
||||||
// minging kludge until https://matrix.org/jira/browse/SYN-678 is fixed
|
|
||||||
// 'Error when trying to join an empty room should be more explicit'
|
|
||||||
msg = "It is not currently possible to re-join an empty room.";
|
|
||||||
}
|
|
||||||
Modal.createDialog(ErrorDialog, {
|
Modal.createDialog(ErrorDialog, {
|
||||||
title: "Failed to join room",
|
title: "Failed to join room",
|
||||||
description: msg
|
description: msg
|
||||||
|
|
Loading…
Reference in New Issue