Browse Source

IOSAD-178 Trustwords deliver string arrays

IOSAD-178
Dirk Zimmermann 2 years ago
parent
commit
7452f798ca
2 changed files with 8 additions and 8 deletions
  1. +4
    -4
      pEpObjCAdapter/PEPInternalSession.m
  2. +4
    -4
      pEpObjCAdapterFramework/PEPSessionProtocol.h

+ 4
- 4
pEpObjCAdapter/PEPInternalSession.m View File

@ -514,10 +514,10 @@ typedef PEP_STATUS (* rating_function_type)(PEP_SESSION session, message *msg, P
return [NSNumber numberWithPEPRating:rating];
}
- (NSArray * _Nullable)trustwordsForFingerprint:(NSString * _Nonnull)fingerprint
languageID:(NSString * _Nonnull)languageID
shortened:(BOOL)shortened
error:(NSError * _Nullable * _Nullable)error
- (NSArray<NSString *> * _Nullable)trustwordsForFingerprint:(NSString * _Nonnull)fingerprint
languageID:(NSString * _Nonnull)languageID
shortened:(BOOL)shortened
error:(NSError * _Nullable * _Nullable)error
{
NSMutableArray *array = [NSMutableArray array];


+ 4
- 4
pEpObjCAdapterFramework/PEPSessionProtocol.h View File

@ -86,10 +86,10 @@ extern NSString * const _Nonnull PEPObjCAdapterErrorDomain;
error:(NSError * _Nullable * _Nullable)error;
/** Get trustwords for a fingerprint */
- (NSArray * _Nullable)trustwordsForFingerprint:(NSString * _Nonnull)fingerprint
languageID:(NSString * _Nonnull)languageID
shortened:(BOOL)shortened
error:(NSError * _Nullable * _Nullable)error;
- (NSArray<NSString *> * _Nullable)trustwordsForFingerprint:(NSString * _Nonnull)fingerprint
languageID:(NSString * _Nonnull)languageID
shortened:(BOOL)shortened
error:(NSError * _Nullable * _Nullable)error;
/// Marks an identity as an own identity, not changing its participation in pEp sync.
///


Loading…
Cancel
Save