pEpObjCAdapter/PEPSession.m
changeset 531 8bd62764f284
parent 530 66abca44d192
child 532 775c55945da1
     1.1 --- a/pEpObjCAdapter/PEPSession.m	Thu Mar 15 08:04:30 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPSession.m	Thu Mar 15 08:04:31 2018 +0100
     1.3 @@ -142,11 +142,17 @@
     1.4      return [session rating:rating forIdentity:identity error:error];
     1.5  }
     1.6  
     1.7 -- (nonnull NSArray *)trustwords:(nonnull NSString *)fpr forLanguage:(nonnull NSString *)languageID
     1.8 -                      shortened:(BOOL)shortened
     1.9 +- (NSArray * _Nullable)trustwordsForFingerprint:(NSString * _Nonnull)fingerprint
    1.10 +                                     languageID:(NSString * _Nonnull)languageID
    1.11 +                                      shortened:(BOOL)shortened
    1.12 +                                          error:(NSError * _Nullable * _Nullable)error
    1.13  {
    1.14      PEPInternalSession *session = [PEPSessionProvider session];
    1.15 -    return [session trustwords:fpr forLanguage:languageID shortened:shortened];
    1.16 +    return [session
    1.17 +            trustwordsForFingerprint:fingerprint
    1.18 +            languageID:languageID
    1.19 +            shortened:shortened
    1.20 +            error:error];
    1.21  }
    1.22  
    1.23  - (void)mySelf:(nonnull PEPIdentity *)identity