vector-im/element-ios/issues/4090 - Switched the sendVoiceMessage method duration parameter to an integer.
MODIFY
MatrixKit/Models/Room/MXKRoomDataSource.h
MatrixKit/Models/Room/MXKRoomDataSource.h
@@ -554,7 +554,7 @@ extern NSString *const kMXKRoomDataSourceTimelineErrorErrorKey;
*/
- (void)sendVoiceMessage:(NSURL *)audioFileLocalURL
mimeType:mimeType
- duration:(NSTimeInterval)duration
+ duration:(NSUInteger)duration
samples:(NSArray<NSNumber *> *)samples
success:(void (^)(NSString *))success
failure:(void (^)(NSError *))failure;

MODIFY
MatrixKit/Models/Room/MXKRoomDataSource.m
MatrixKit/Models/Room/MXKRoomDataSource.m
@@ -1896,7 +1896,7 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
- (void)sendVoiceMessage:(NSURL *)audioFileLocalURL
mimeType:mimeType
- duration:(NSTimeInterval)duration
+ duration:(NSUInteger)duration
samples:(NSArray<NSNumber *> *)samples
success:(void (^)(NSString *))success
failure:(void (^)(NSError *))failure

vector-im/element-ios/issues/4090 - Switched the sendVoiceMessage method duration parameter to an integer.