mirror of https://github.com/vector-im/riot-web
Remove spurious TODO
parent
95e8889857
commit
b56417f46e
|
@ -109,7 +109,6 @@ module.exports = React.createClass({
|
||||||
var content = this.props.mxEvent.getContent();
|
var content = this.props.mxEvent.getContent();
|
||||||
var self = this;
|
var self = this;
|
||||||
if (content.file !== undefined && this.state.decryptedUrl === null) {
|
if (content.file !== undefined && this.state.decryptedUrl === null) {
|
||||||
// TODO: hook up an error handler to the promise.
|
|
||||||
DecryptFile.decryptFile(content.file).then(function(blob) {
|
DecryptFile.decryptFile(content.file).then(function(blob) {
|
||||||
if (!self._unmounted) {
|
if (!self._unmounted) {
|
||||||
self.setState({
|
self.setState({
|
||||||
|
|
Loading…
Reference in New Issue