diff options
author | manuroe <manu@matrix.org> | 2016-11-14 16:54:51 +0100 |
---|---|---|
committer | manuroe <manu@matrix.org> | 2016-11-14 16:54:51 +0100 |
commit | cf66af6f2e7c69a3e0712317f8473ab09711d426 (patch) | |
tree | 425ad41ff31014973628daa8054772939e53edcd /xcode/OLMKit/OLMInboundGroupSession.h | |
parent | 27a8c28da4e5c62d8863ee3d30642109d713c4d6 (diff) |
OLMKit: Replaced NSAsserts by NSErrors
Diffstat (limited to 'xcode/OLMKit/OLMInboundGroupSession.h')
-rw-r--r-- | xcode/OLMKit/OLMInboundGroupSession.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xcode/OLMKit/OLMInboundGroupSession.h b/xcode/OLMKit/OLMInboundGroupSession.h index 46de3a0..40dfce7 100644 --- a/xcode/OLMKit/OLMInboundGroupSession.h +++ b/xcode/OLMKit/OLMInboundGroupSession.h @@ -19,11 +19,11 @@ @interface OLMInboundGroupSession : NSObject <OLMSerializable, NSSecureCoding> -- (instancetype) initInboundGroupSessionWithSessionKey:(NSString*)sessionKey; +- (instancetype) initInboundGroupSessionWithSessionKey:(NSString*)sessionKey error:(NSError**)error; - (NSString*)sessionIdentifier; /** base64 ciphertext -> UTF-8 plaintext */ -- (NSString*)decryptMessage:(NSString*)message messageIndex:(NSUInteger*)messageIndex; +- (NSString*)decryptMessage:(NSString*)message messageIndex:(NSUInteger*)messageIndex error:(NSError**)error; @end |