IOSAD-72 rating:forIdentity:error
authorDirk Zimmermann <dirk@pep-project.org>
Thu, 15 Mar 2018 08:04:30 +0100
changeset 53066abca44d192
parent 529 51fc488efa4f
child 531 8bd62764f284
IOSAD-72 rating:forIdentity:error
pEpObjCAdapter/PEPInternalSession.m
pEpObjCAdapter/PEPSession.m
pEpObjCAdapter/PEPSessionProtocol.h
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Thu Mar 15 08:04:29 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Thu Mar 15 08:04:30 2018 +0100
     1.3 @@ -391,7 +391,7 @@
     1.4  }
     1.5  
     1.6  - (BOOL)rating:(PEP_rating * _Nonnull)rating
     1.7 -   forIdentity:(nonnull PEPIdentity *)identity
     1.8 +   forIdentity:(PEPIdentity * _Nonnull)identity
     1.9           error:(NSError * _Nullable * _Nullable)error
    1.10  {
    1.11      pEp_identity *ident = PEP_identityToStruct(identity);
     2.1 --- a/pEpObjCAdapter/PEPSession.m	Thu Mar 15 08:04:29 2018 +0100
     2.2 +++ b/pEpObjCAdapter/PEPSession.m	Thu Mar 15 08:04:30 2018 +0100
     2.3 @@ -135,8 +135,9 @@
     2.4  }
     2.5  
     2.6  - (BOOL)rating:(PEP_rating * _Nonnull)rating
     2.7 -   forIdentity:(nonnull PEPIdentity *)identity
     2.8 -         error:(NSError * _Nullable * _Nullable)error{
     2.9 +   forIdentity:(PEPIdentity * _Nonnull)identity
    2.10 +         error:(NSError * _Nullable * _Nullable)error
    2.11 +{
    2.12      PEPInternalSession *session = [PEPSessionProvider session];
    2.13      return [session rating:rating forIdentity:identity error:error];
    2.14  }
     3.1 --- a/pEpObjCAdapter/PEPSessionProtocol.h	Thu Mar 15 08:04:29 2018 +0100
     3.2 +++ b/pEpObjCAdapter/PEPSessionProtocol.h	Thu Mar 15 08:04:30 2018 +0100
     3.3 @@ -95,7 +95,7 @@
     3.4   It is *not* a rating of the identity. In fact, there is no rating for identities.
     3.5   */
     3.6  - (BOOL)rating:(PEP_rating * _Nonnull)rating
     3.7 -   forIdentity:(nonnull PEPIdentity *)identity
     3.8 +   forIdentity:(PEPIdentity * _Nonnull)identity
     3.9           error:(NSError * _Nullable * _Nullable)error;
    3.10  
    3.11  /** Get trustwords for a fingerprint */