From e6cd3d071279d266de4bc6c8a8feed6596a1f442 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 11 Apr 2017 09:15:25 -0400 Subject: [PATCH] Fix audio playback. // FREEBIE --- src/Messages/Attachments/TSAttachmentStream.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Messages/Attachments/TSAttachmentStream.h b/src/Messages/Attachments/TSAttachmentStream.h index 6e4439b52..63b33bcd9 100644 --- a/src/Messages/Attachments/TSAttachmentStream.h +++ b/src/Messages/Attachments/TSAttachmentStream.h @@ -31,6 +31,7 @@ NS_ASSUME_NONNULL_BEGIN - (BOOL)isAnimated; - (BOOL)isImage; - (BOOL)isVideo; +- (BOOL)isAudio; - (nullable NSString *)filePath; - (nullable NSURL *)mediaURL; - (nullable NSData *)readDataFromFileWithError:(NSError **)error;