IOSAD-143 Docs. IOSAD-143
authorDirk Zimmermann <dz@pep.security>
Tue, 01 Oct 2019 17:12:18 +0200
branchIOSAD-143
changeset 1296201a8b383494
parent 1295 2908c4ac7c5e
child 1297 7ba3a4d1b01d
IOSAD-143 Docs.
pEpObjCAdapter/PEPInternalSession.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Tue Oct 01 17:12:18 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Tue Oct 01 17:12:18 2019 +0200
     1.3 @@ -24,7 +24,7 @@
     1.4  #import "PEPAutoPointer.h"
     1.5  #import "NSNumber+PEPRating.h"
     1.6  #import "NSMutableDictionary+PEP.h"
     1.7 -#import "PEPSync_Internal.h"
     1.8 +#import "PEPSync_Internal.h" // for [PEPSync createSession:]
     1.9  #import "PEPInternalConstants.h"
    1.10  
    1.11  #import "key_reset.h"
    1.12 @@ -38,6 +38,9 @@
    1.13          [PEPInternalSession setupTrustWordsDB];
    1.14  
    1.15          NSError *error = nil;
    1.16 +
    1.17 +        // Get an engine session from PEPSync, because its creation requires callbacks
    1.18 +        // that PEPSync is responsible for.
    1.19          _session = [PEPSync createSession:&error];
    1.20  
    1.21          if (error) {