Remove unused return (#7321)

This commit is contained in:
Germain 2021-12-09 17:33:00 +00:00 committed by GitHub
parent 68ac578577
commit cba92c0e90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -539,8 +539,6 @@ export default class ContentMessages {
return (noRelation || matchingRelation) && !upload.canceled; return (noRelation || matchingRelation) && !upload.canceled;
}); });
return this.inprogress.filter(u => !u.canceled);
} }
cancelUpload(promise: Promise<any>, matrixClient: MatrixClient) { cancelUpload(promise: Promise<any>, matrixClient: MatrixClient) {