OLMKit: Fixed type of messageIndex argument in exportSessionAtMessageIndex
Signed-off-by: Greg Hughes <greg@ghughes.com>
This commit is contained in:
parent
b185229c2b
commit
86c6af943a
2 changed files with 2 additions and 2 deletions
|
@ -33,6 +33,6 @@
|
||||||
|
|
||||||
- (BOOL)isVerified;
|
- (BOOL)isVerified;
|
||||||
|
|
||||||
- (NSString*)exportSessionAtMessageIndex:(NSUInteger*)messageIndex error:(NSError**)error;
|
- (NSString*)exportSessionAtMessageIndex:(NSUInteger)messageIndex error:(NSError**)error;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -190,7 +190,7 @@
|
||||||
return (0 != olm_inbound_group_session_is_verified(session));
|
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);
|
size_t length = olm_export_inbound_group_session_length(session);
|
||||||
NSMutableData *key = [NSMutableData dataWithLength:length];
|
NSMutableData *key = [NSMutableData dataWithLength:length];
|
||||||
|
|
Loading…
Reference in a new issue