Remove now-unused dispatches

This commit is contained in:
David Baker 2017-11-09 16:09:12 +00:00
parent 820d9c1c25
commit b1ec430523
5 changed files with 1 additions and 39 deletions

View file

@ -932,11 +932,7 @@ module.exports = React.createClass({
file, this.state.room.roomId, MatrixClientPeg.get(),
).done(undefined, (error) => {
if (error.name === "UnknownDeviceError") {
dis.dispatch({
action: 'unknown_device_error',
err: error,
room: this.state.room,
});
// Let the staus bar handle this
return;
}
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");