pull/1/head
Michael Kirk 7 years ago
parent 4aba6e0c9f
commit c0c71ad765

@ -418,7 +418,6 @@ public class ShareViewController: UINavigationController, SAELoadViewDelegate, S
// TODO whitelist attachment types
// TODO coerce when necessary and possible
return promise.then { (url: URL) -> SignalAttachment in
// TODO use lazy DataProvider?
guard let dataSource = DataSourcePath.dataSource(with: url) else {
throw ShareViewControllerError.assertionError(description: "Unable to read attachment data")
}

Loading…
Cancel
Save