mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
Remove "Cannot re-join empty room" error
This is a lying error message. burn it with fire
This commit is contained in:
parent
9c4671568d
commit
42de77e588
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue