mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Remove spurious TODO
This commit is contained in:
parent
95e8889857
commit
b56417f46e
1 changed files with 0 additions and 1 deletions
|
@ -109,7 +109,6 @@ module.exports = React.createClass({
|
|||
var content = this.props.mxEvent.getContent();
|
||||
var self = this;
|
||||
if (content.file !== undefined && this.state.decryptedUrl === null) {
|
||||
// TODO: hook up an error handler to the promise.
|
||||
DecryptFile.decryptFile(content.file).then(function(blob) {
|
||||
if (!self._unmounted) {
|
||||
self.setState({
|
||||
|
|
Loading…
Reference in a new issue