You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Merge branch 'develop' into luke/UDE-file-upload
This commit is contained in:
@ -936,9 +936,10 @@ module.exports = React.createClass({
|
||||
return;
|
||||
}
|
||||
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
console.error("Failed to upload file " + file + " " + error);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Failed to upload file",
|
||||
description: error.toString()
|
||||
description: "Server may be unavailable, overloaded, or the file too big",
|
||||
});
|
||||
});
|
||||
},
|
||||
@ -1022,9 +1023,10 @@ module.exports = React.createClass({
|
||||
});
|
||||
}, function(error) {
|
||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
console.error("Search failed: " + error);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Search failed",
|
||||
description: error.toString()
|
||||
description: "Server may be unavailable, overloaded, or search timed out :("
|
||||
});
|
||||
}).finally(function() {
|
||||
self.setState({
|
||||
|
Reference in New Issue
Block a user