pEpObjCAdapter/PEPInternalSession.m
branchIOSAD-160
changeset 1372 ac119be204d2
parent 1369 c22f0fbc9597
child 1373 86bc00f43015
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Tue Dec 03 14:07:27 2019 +0100
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Tue Dec 03 14:07:27 2019 +0100
     1.3 @@ -536,6 +536,15 @@
     1.4  }
     1.5  
     1.6  - (BOOL)mySelf:(PEPIdentity * _Nonnull)identity
     1.7 +         error:(NSError * _Nullable * _Nullable)error
     1.8 +{
     1.9 +    // The default for pEpSyncEnabled is YES, that means the adapter
    1.10 +    // will not change the engine identity in that regard after new_identity
    1.11 +    // (called by PEP_identityToStruct).
    1.12 +    return [self mySelf:identity pEpSyncEnabled:YES error:error];
    1.13 +}
    1.14 +
    1.15 +- (BOOL)mySelf:(PEPIdentity * _Nonnull)identity
    1.16  pEpSyncEnabled:(BOOL)pEpSyncEnabled
    1.17           error:(NSError * _Nullable * _Nullable)error {
    1.18      pEp_identity *ident = PEP_identityToStruct(identity);