Remove "Cannot re-join empty room" error

This is a lying error message. burn it with fire
pull/21833/head
Richard van der Hoff 2016-12-27 19:16:54 +00:00
parent 9c4671568d
commit 42de77e588
1 changed files with 0 additions and 5 deletions

View File

@ -810,11 +810,6 @@ module.exports = React.createClass({
} else {
var msg = error.message ? error.message : JSON.stringify(error);
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, {
title: "Failed to join room",
description: msg