OLMKit: Fixed type of messageIndex argument in exportSessionAtMessageIndex

Signed-off-by: Greg Hughes <greg@ghughes.com>
This commit is contained in:
Greg Hughes 2017-02-27 01:54:03 -08:00 committed by Richard van der Hoff
parent b185229c2b
commit 86c6af943a
2 changed files with 2 additions and 2 deletions

View file

@ -33,6 +33,6 @@
- (BOOL)isVerified;
- (NSString*)exportSessionAtMessageIndex:(NSUInteger*)messageIndex error:(NSError**)error;
- (NSString*)exportSessionAtMessageIndex:(NSUInteger)messageIndex error:(NSError**)error;
@end

View file

@ -190,7 +190,7 @@
return (0 != olm_inbound_group_session_is_verified(session));
}
- (NSString*)exportSessionAtMessageIndex:(NSUInteger*)messageIndex error:(NSError**)error;
- (NSString*)exportSessionAtMessageIndex:(NSUInteger)messageIndex error:(NSError**)error;
{
size_t length = olm_export_inbound_group_session_length(session);
NSMutableData *key = [NSMutableData dataWithLength:length];