From 42de77e588b8bd1c854baf0313b4aaace70a4158 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 27 Dec 2016 19:16:54 +0000 Subject: [PATCH] Remove "Cannot re-join empty room" error This is a lying error message. burn it with fire --- src/components/structures/RoomView.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 2d71943bce..8059cd9372 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -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