Remove "Cannot re-join empty room" error

This is a lying error message. burn it with fire
This commit is contained in:
Richard van der Hoff 2016-12-27 19:16:54 +00:00
parent 9c4671568d
commit 42de77e588

View file

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