diff --git a/SignalServiceKit/src/Storage/MediaGalleryFinder.swift b/SignalServiceKit/src/Storage/MediaGalleryFinder.swift index 0cad70252d..3e6ae69b0c 100644 --- a/SignalServiceKit/src/Storage/MediaGalleryFinder.swift +++ b/SignalServiceKit/src/Storage/MediaGalleryFinder.swift @@ -45,7 +45,6 @@ public final class MediaGalleryManager: NSObject { transaction: GRDBWriteTransaction) throws -> MediaGalleryRecord? { guard let attachmentRowId = attachmentStream.grdbId else { throw OWSAssertionError("attachmentRowId was unexpectedly nil") - return nil } guard let messageUniqueId = attachmentStream.albumMessageId else {